using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace _99 { class Program { static void Main(string[] args) { int[, ,] hh = new int[2, 3, 3] { { { 4, 2, 3 }, { 4, 3, 2 }, {4,5, 43, } }, { { 12, 3, 32 }, { 3, 23, 23 }, { 13, 33, 3 } } }; foreach (int m in hh) Console.WriteLine ("遍历三维数组为" + m); Console.Read(); } } }
时间: 2024-11-07 02:35:07