3by3 Array c#
int[,] OneToNine = new int[3, 3] { /*0, 1, 2*/
/*0*/ { 1, 2, 3 },
/*1*/ { 4, 5, 6 },
/*2*/ { 7, 8, 9 }
};
Console.WriteLine(map[0, 0]); //1
Console.WriteLine(map[0, 1]); //2
Console.WriteLine(map[0, 2]); //3
Console.WriteLine(map[1, 0]); //4
Console.WriteLine(map[1, 1]); //5
Console.WriteLine(map[1, 2]); //6
Console.WriteLine(map[2, 0]); //7
Console.WriteLine(map[2, 1]); //8
Console.WriteLine(map[2, 2]); //9
//You will get the numbers below as output in the consol.
//1
//2
//3
//4
//5
//6
//7
//8
//9