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

Code Example 1

int[,] matrix = new int[10,9];

Code Example 2

// Two-dimensional array.
int[,] array2D = new int[,] { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };

Learn ReactJs, React Native from akashmittal.com