数组问题
using System;namespace WhileTest
{
class Program{
static void Main (string[]args){
int []myArray=new int[5]{12,9,35,68,51};
int a =0;
while(a<5){
console.writeline("myArray[{0}]的值为{1}。",a,myArray[a]); //其中[{0}]、{1}各表示什么意思?
a++;
}
console,ReadLine();
}
}
}
麻烦各位讲的详细点,谢谢~~~
}
}