//定义二维数组
//int [,]数组名=new int【a,b】{};
//a表示有几个一维数组
//b表示每个一维数组种有几个元素
int[,] array = new int[3, 4] { { 2,3,4,5}, {3,4,5,6}, {5,6,7,8 } }; //Console.WriteLine(array[1,1]); for (int i = 0; i < 3; i++) { for (int j = 0; j < 4; j++) { //Console.WriteLine(array[i,j]); array[i, j] = int.Parse(Console.ReadLine()); } }