title: Python .net framework reference argument Double[]&
body: <p>Using the Python for .Net framework I'm trying to call a method from a C# .dll file. This method has the following arguments:</p>
  
  <pre><code>public static void ExternalFunction(
      String Arg1,
      ref Double[]&amp; Arg2,
  );
  </code></pre>
  
  <p>I understood the .Net framework converts Python floats to doubles. Now I would like to know how to make an array (double) and pass this as a reference to the external method.</p>
  
  <p>I've the following code:</p>
  
  <pre><code>import clr
  
  clr.AddReference("MyDll")
  from MyLib import MyClass
  
  myName = "Benjamin"
  
  r = MyClass.ExternalFunction(myName, 0.0);
  print "Result: %s"%r
  </code></pre>