码迷,mamicode.com
首页 > 编程语言 > 详细

遍历三维数组2

时间:2015-08-10 21:48:05      阅读:111      评论:0      收藏:0      [点我收藏+]

标签:

 1 using System;
 2 using System.Collections.Generic;
 3 using System.Text;
 4 
 5 namespace 遍历三维数组
 6 {
 7     class Program
 8     {
 9         static void Main(string[] args)
10         {
11            
12 
13             int[, ,] szA = new int[2,3,4]{
14                                        {{0,1,2,3},
15                                         {4,5,6,7},
16                                         {8,9,10,11}},
17                                         {{12,13,14,15},
18                                         {16,17,18,19},
19                                         {20,21,22,23}}
20                                        };
21 
22             
23                
24           
25             foreach(int i in szA)
26           
27            Console.ReadLine();
28 
29         }
30     }
31 }

 

遍历三维数组2

标签:

原文地址:http://www.cnblogs.com/zxm1002/p/4719217.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!