I\'m completely new to C# and well I would like simple code to create a matrix from user input
E.G.
int [,] matrix1 = new int [2,2] // now using inpu
Console.WriteLine("Enter the height: "); int h = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Enter the width: "); string w = Convert.ToInt32(Console.ReadLine()); int[,] arr = new int[w, h]; for (int i = 0; i < w; ++i) for (int j = 0; j