get one dimension length of two-dimensional array c# code example
Example: c# length 2d array
int rowsOrHeight = ary.GetLength(0);
int colsOrWidth = ary.GetLength(1);
int rowsOrHeight = ary.GetLength(0);
int colsOrWidth = ary.GetLength(1);