foreach后面的讲解
foreach实现了对数组的迭代,结果就是输出所有的数据foreach那个可以改写为for (int i = 0; i < arr.Count(); i++){Console.WriteLine("{0} ", arr[i]);}