title: How do I 'foreach' through a two-dimensional array?
body: <p>I've got a two-dimensional array,</p>
  
  <pre><code>string[,] table = {
                         { "aa", "aaa" },
                         { "bb", "bbb" }
                     };
  </code></pre>
  
  <p>And I'd like to <code>foreach</code> through it like this,</p>
  
  <pre><code>foreach (string[] row in table)
  {
      Console.WriteLine(row[0] + " " + row[1]);
  }
  </code></pre>
  
  <p>But, I get the error:</p>
  
  <blockquote>
    <p>Can't convert type string to string[]</p>
  </blockquote>
  
  <p>Is there a way I can achieve what I want, i.e. iterate through the first dimension of the array with the iterator variable returning me the one-dimensional array for that row?</p>