What is the difference between int[][] and int[,]?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1159222/what-are-the-differences-between-using-int-and-int">What are the differences between using int[][] and int[,]?</a>  </p>
</blockquote>



<p>I just came across this notation:</p>

<pre><code>int[,]
</code></pre>

<p>Whenever i needed a matrix I used:</p>

<pre><code>int[][]
</code></pre>

<p>What is the difference? When to use which one?</p>

<p><strong>Edit:</strong>
Thanks for the quick responses. I could've thought of that. It's also hard to google for stuff like this.</p>

<p>Now I understand the purpose. But how do they relate to System.Array?</p>
