您的位置:首页 > 其它

遍历三维数组

2015-08-10 21:10 399 查看
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace 遍历三维数组
{
class Program
{
static void Main(string[] args)
{
ArrayList al = new ArrayList();
int[, ,] sz = new int[2, 4, 4] { { { 88, 456, 897, 25987 }, { 4692, 1478, 11, 1578 }, { 887984, 156156, 321, 132 }, { 48, 15, 131, 464 } }, { { 8789, 564, 25, 213 }, { 9879, 45, 321, 494 }, { 948, 96, 562, 155 }, { 987, 15, 35, 65 } } };

foreach (object b in sz)
{
Console.WriteLine("遍历数="+b);
}

int[] sz1 = new int[5];

Console.ReadLine();
}
}
}


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: