title: How do you get the width and height of a multi-dimensional array?
body: <p>I have an array defined:</p>
  
  <pre><code>int [,] ary;
  // ...
  int nArea = ary.Length; // x*y or total area
  </code></pre>
  
  <p>This is all well and good, but I need to know how wide this array is in the <code>x</code> and <code>y</code> dimensions individually. Namely, <code>ary.Length</code> might return 12 - but does that mean the array is 4 high and 3 wide, or 6 high and 2 wide?</p>
  
  <p>How can I retrieve this information?</p>