int[, ,] szA = new int[2, 3, 4]{ {{1,2,3,4}, {3,4,5,5}, {6,7,8,9}}, {{1,2,3,4}, {3,4,5,5}, {6,7,8,20}} }; foreach (int a in szA) { Console.WriteLine("遍历=" + a); } Console.ReadLine();