title: I got this error: Error 1: Cannot implicitly convert type 'double[][]' to 'double[]'
body: <p>I got this code:</p>
  
  <pre><code>double[][] ou = new double[h][w];
  
  for(i=0;i&lt;h;i++)
     for(int j=0;j&lt;w;j++)
        ou[i][j] = sortie[z++];
  
  return ou;  
  </code></pre>
  
  <p>And I get this 2 errors:</p>
  
  <pre><code>Error 1: Cannot implicitly convert type 'double[][]' to 'double[]'
  </code></pre>
  
  <p>referred to "return ou"</p>
  
  <pre><code>Error 2: Invalid rank specifier: expected ',' or ']'
  </code></pre>
  
  <p>referred to "double[][] ou = new double[h][w];"</p>
  
  <p>EDIT:
  I try to convert a code from Java to C# and that is were I have                  "double[][] ou = new double[h][w];"</p>