教程打印语句太旧了?
教程中Console.WriteLine("四名同学的年龄是:{0}、{1}、{2}、{3}",age[ ],age[ ],age[ ],age[ ]);
和 Console.WriteLine("四位同学的年龄是" + age[0] + " " + age[1] + " " + age[2] + " " + age[3]); 有什么不同?
然而,把Console.WriteLine("四名同学的年龄是:{0}、{1}、{2}、{3}",age[ ],age[ ],age[ ],age[ ]);拿去vs 2013 试了一下,识别成语法错误了,所以也许这是旧的打印方法?