数组的四种创建方法
程序员文章站
2022-03-29 12:51:02
第一种: string[] myArray = new string[10]; for(int i = 0; i<10;i++){ myArray[i] = i+1; } 第二种: string[] myArray2 = {"1","2","3","4","5","6","7","8","9","1 ......