title: Convert double[] to System.array c#
body: <p>I'm using a visual basic library and one of the methods I'm using calls for a System.Array to be passed into it. 
  I've tried using "double[]" and "Object[]" when declaring my array however those will not pass. 
  I'm not sure how to convert/declare a "System.Array". </p>
  
  <pre><code>Object[] filledVals = new Object[9];                   
  xyz.getDoubleArray("NumVoids", out filledVals); //where .getDoubleArray(string, System.Array)
  </code></pre>