title: Arrays Error Error "Invalid rank specifier: expected ',' or ']"
body: <p>I'm doing my homework. I am assigned to create a Tic Tac Toe application, I've finished it but there's a small error, and I think I'm overlooking something, but I can't figure it out and need some new eyes to check it out because I think I'm looking at it for too long and missing a big concept.</p>
  
  <pre><code>        Random r = new Random();//Creates the number generator.
          int [][] numbers = new int [3][3]; //creates a 3x3 integer grid.
          for (int i = 0; i&lt; numbers.Length; i++){
          for (int j=0;j&lt;numbers[i].Length;j++){
          numbers[i][j] = r.Next(2);//Traverses the array and inputs a number between 0 and 1 here.
  </code></pre>
  
  <p>}
    }</p>
  
  <pre><code>        Console.WriteLine("%d|%d|%d\n",numbers[0][0],numbers[0][1],numbers[0][2]);
  
          Console.WriteLine("------");
          Console.WriteLine("%d|%d|%d\n",numbers[1][0],numbers[1][1],numbers[1][2]);
  
          Console.WriteLine("------");
          Console.WriteLine("%d|%d|%d\n",numbers[2][0],numbers[2][1],numbers[2][2]);
  </code></pre>
  
  <p>The error is in the second line. Maybe I did the int [][] numbers = new int [][]; format wrong? Please help me identify what's wrong it. Thank you.</p>