title: C# Filling double[][] manually
body: <p>I am just trying out a source code. 
  This source code has the following line:</p>
  
  <pre><code>double[][] inputs = sourceMatrix.Submatrix(null, 0, 1).ToArray();
  </code></pre>
  
  <p>Originally, this "inputs" is filled using a matrix, but I am still too inexperienced to use this matrix. I would first like to test it with some hand-coded values.</p>
  
  <p>Could anybody please tell me how to populate double[][] with some values?</p>
  
  <p>I am not really experienced with C# yet. I guess that [][] means a threedimensional array.</p>
  
  <p>In VB6 I would simply say</p>
  
  <pre><code>Redim inputs(2,2)
  </code></pre>
  
  <p>and then:</p>
  
  <pre><code>inputs(0,0) = 64
  inputs(0,1) = 92
  inputs(0,2) = 33
  inputs(1,0) = 4
  inputs(1,1) = 84
  inputs(1,2) = 449
  </code></pre>
  
  <p>etc...</p>
  
  <p>But I guess it is not that easy in C#.
  If anybody could help, I would be really glad.</p>
  
  <p>Thank you.</p>