2018-12-05zuoye

try
{

           Console.WriteLine("本次活动特价商品有:");
            string[] name = {"nike背包","adasi运动衫","李宁运动套","kappa外套","361腰包"};
            
            foreach (var item in name)
            {
                Console.Write(item+",");
            }

            
          
            
            
            
            
            Console .ReadLine();



        }
        catch
        {

            Console.WriteLine("输入有误");



        }
        Console.ReadKey();

你可能感兴趣的:(2018-12-05zuoye)