Converting array/matrix initialization code from C++ to C#
<p>I am in the middle of converting C++ code to C#. I am having trouble with some C++ array static initialization. Consider the following piece of C++:</p>

<pre><code>int Values[][32] = {
   {}, {}, {1, 2, 3}, {1}
};
</code></pre>

<p>What this does is creates a matrix of 4x32 integers. I need to do same or similar in C# in as straightforward way as possible. I am looking to get either</p>

<pre><code>static int[][] Values = {...};
</code></pre>

<p>...or</p>

<pre><code>static int[,] Values = {...};
</code></pre>

<p>The thing is C# does not seem to allow array initialization with uneven sub-array sizes. Other than this, if one specifies <code>new int[4,32] {...}</code> then everything between curly braces must be of exactly 32 length. With C++ one can specify <code>{1, 2, 3}</code> and the compiler will fill in the rest of the missing array members with zeros.</p>

<p>[EDIT] I have tried using LINQ and got what I desire but it looks cumbersome.</p>
