using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication4
{
    class Program
    {
        static void Main(string[] args)
        {
             int [,] arrMaze = new int[10, 10]{
                {1,1,1,1,1,1,1,1,1,1},
                {1,0,0,3,0,0,0,1,0,1},
                {1,0,0,1,0,0,0,1,0,1},
                {1,0,0,0,0,1,1,0,0,1},
                {1,0,1,1,1,0,0,0,0,1},
                {1,0,0,0,1,0,0,0,0,1},
                {1,0,1,0,0,0,1,0,0,1},
                {1,0,1,1,1,0,1,1,0,1},
                {1,1,0,0,0,0,0,0,0,1},
                {1,1,1,1,1,1,1,1,1,1}
            };             for (int i = 0; i <= arrMaze.GetUpperBound(0); i++)
             {
                 for (int j = 0; j <= arrMaze.GetUpperBound(1); j++)
                 {
                     Console.Write(arrMaze[i, j]);
                 }
                 Console.WriteLine();
             }
             Console.Write("arrMaze[3,1]={0}",arrMaze[3, 1]);
             Console.ReadLine();
        }
    }
}我想请问下,arrMaze[3,1]为什么会等于0,不是等于3吗?想请知道的人帮我解下疑惑,谢谢了
程序运行出来的结构如图