int[, ,] a = new int[2, 3, 4]{{{1,2,3,4},{5,6,7,8},{9,10,11,12}},{{13,14,15,16},{17,18,19,10},{21,22,23,24}}}; foreach (int m in a) { Console.Write(" " + m); } int l = a.Length; Console.WriteLine("\n数组总字符数 " + l); Console.ReadLine();
时间: 2024-10-13 18:14:44