title: how to declare a bidimensional array
body: <p>I have this code:</p>
  <pre><code>var test = new string[3, 2];
              for (int i=0; i&lt;3; i++)
              {
                  for (int h=0; h&lt;2; h++)
                  {
                      test[i, h] = &quot;DataRows: &quot; + i.ToString() + &quot; &quot; + h.ToString();
                  }
              }
  </code></pre>
  <p>but when I try to see what's inside of test I see this</p>
  <p><a href="https://i.stack.imgur.com/8cwHd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8cwHd.png" alt="quick watch" /></a></p>
  <p>If I try to see what is in any item of the array I get an error:</p>
  <p><a href="https://i.stack.imgur.com/7Bi27.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Bi27.png" alt="error in item in array" /></a></p>
  <p>Can someone explain to me what I am doing wrong and what is the correct way?</p>
  <p>Visual Studio 2022, Blazor Webassembly, .NET6.0</p>
  <p>Thanks</p>