📅  最后修改于: 2022-03-11 14:48:58.080000             🧑  作者: Mango
int[,] matrix2D = new int[,];
int[,,] matrix3D = new int[,,];
matrix2D.GetLength(0); //width
matrix2D.GetLength(1); //height
matrix3d.GetLength(0) //x
matrix3d.GetLength(0) //y
matrix3d.GetLength(0) //z