Check out example codes for "c# length 2d array". It will help you in understanding the concepts better.

Code Example 1

int rowsOrHeight = ary.GetLength(0);
int colsOrWidth = ary.GetLength(1);

Learn ReactJs, React Native from akashmittal.com