title: wrong number of indices inside []; expected 2
body: <pre><code>public static void Main(string[] args)
  {
      int width;
      int height;
  
      Console.WriteLine("Please enter the width of the array");
      width = Convert.ToInt32(Console.ReadLine());
  
      Console.WriteLine("Please enter the height of the array");
      height = Convert.ToInt32(Console.ReadLine());
  
      int[,] grid = new int [width,height];
  
      for(int x = 0; x &lt; width; x++)
      {
          for(int y = 0; y &lt; height; y++)
          {
              Console.WriteLine(grid[x][y]);
          }
      }
  </code></pre>
  
  <p>Just to be clear i am a beginner, and all the other answers are either way too complex or i just straight up cant understand them. the line in which i am getting the error is this:</p>
  
  <pre><code>int[,] grid = new int[width, height];
  </code></pre>