int[] myNum = new int[5]{5,20,13,14,578}; int s = 0; while (s < 5) { Console.WriteLine("myNum[{0}]的值为{1}", s,myNum[s]); s++; } Console.ReadLine();
时间: 2024-09-30 05:36:12
int[] myNum = new int[5]{5,20,13,14,578}; int s = 0; while (s < 5) { Console.WriteLine("myNum[{0}]的值为{1}", s,myNum[s]); s++; } Console.ReadLine();