public static void Main()
Console.WriteLine("Enter Height of Array : ");
int height = int.Parse(Console.ReadLine());
Console.WriteLine("Enter width of array : ");
int width = int.Parse(Console.ReadLine());
int[,] myArray = new int[height, width];
for (int i = 0; i < myArray.GetLength(0) ; i++)
for (int j = 0; j < myArray.GetLength(1) ; j++)
Console.WriteLine(" Y: " + i + " X: " + j);
myArray[i, j] = int.Parse(Console.ReadLine());
Console.WriteLine("\nYour Array: ");
for (int y = 0; y < myArray.GetLength(0) ; y++)
for (int x = 0; x < myArray.GetLength(1) ; x++)
Console.Write(myArray[y, x] + "\t");