initialize matrix c#

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

Also in C#: