how to find the maximum size of an array index?
<p>I declared an array</p>

<pre><code>double[,] i=new double[2147483647,10] ; //2147483647=max size of int
</code></pre>

<p>but it throws out of memory exception</p>

<p>if I reduce the index 2147483647 to 21474836 it is working fine.</p>

<p>how I could know the maximum size of an array?</p>
