title: Correctly filling up multidimensional array
body: <p>I'm trying to fill an multidimensional array with data from an SQL database. Because there isn't an function like myarray.Add for this I figured out something else. But it is not working! I'm using C# .net 
  The following line is giving errors: arr[counter2] = {myDataReader["rating"], myDataReader["date"]};</p>
  
  <pre><code>public string[,] getData(int id)
      {
  
  
          string queryString = "SELECT rating, date FROM rating WHERE id = '" + id + "'";
          SqlDataReader myDataReader = Database.sqlDataReader(queryString);
  
          if (myDataReader.HasRows)
          {
              int counter = 0;
              while (myDataReader.Read())
              {
                  counter++;
              }
              string[,] arr = new string[counter, 2];
              int counter2 = 0;
              while (myDataReader.Read())
              {
                  counter2++;
                  arr[counter2] = {myDataReader["rating"], myDataReader["date"]};
              }
          }
  
          return arr;
      }
  </code></pre>
  
  <p>Could someone help me fix this or explain me another (and probably better) way of doing the same thing?</p>