title: Looping through each row of 2D array with ForEach-Object
body: <p>I tried typing something like:</p>
  
  <pre><code>$test = ("c2","d8","e9"),(4,1,9)
  (0..2) | % { "$test[0][$_] $test[1][$_]" }
  </code></pre>
  
  <p>And I should expect it to output:</p>
  
  <pre><code>c2 4
  d8 1
  e9 9
  </code></pre>
  
  <p>But I got this instead:</p>
  
  <pre><code>System.Object[] System.Object[][0][0] System.Object[] System.Object[][1][0]
  System.Object[] System.Object[][0][1] System.Object[] System.Object[][1][1]
  System.Object[] System.Object[][0][2] System.Object[] System.Object[][1][2]
  </code></pre>
  
  <p>What is the correct way to get the desired output?</p>