public static void Main()
Console.WriteLine("Enter number of rows:");
var x = int.Parse(Console.ReadLine());
Console.WriteLine("Enter number of columns:");
var y = int.Parse(Console.ReadLine());
var table = new string[x, y];
for (int row = 0; row < table.GetLength(0); row++)
for (int col = 0; col < table.GetLength(1); col++)
Console.WriteLine("Enter the value of the cell ["+row+","+col+"]");
table[row, col] = Console.ReadLine();
for (int row = 0; row < table.GetLength(0); row++)
for (int col = 0; col < table.GetLength(1); col++)
Console.Write(table[row, col]);