title: How to create a reference to System.Array holding strings in C#
body: <p>I have an interesting question regarding C# code.
  Basically I have to call a method</p>
  
  <pre><code>BCI2000AutomationLib.IBCI2000Remote.StartupModules(ref System.Array)
  </code></pre>
  
  <p>Using Visual Studio 2010 the following code compiles and works perfectly:</p>
  
  <pre><code>// Startup modules
  string[] modules = new string[3];
  modules[0] = "SignalGenerator --local";
  modules[1] = "DummySignalProcessing --local";
  modules[2] = "DummyApplication --local";
  ok_conn = bci.StartupModules(ref modules);
  </code></pre>
  
  <p>Now porting this to a game engine (e.g. Unity 3D) requires some stricter C# code since it uses Mono C# compiler. So for the same code i get the following compilation error:</p>
  
  <blockquote>
    <p>The best overloaded method match for
    <em>'BCI2000AutomationLib.IBCI2000Remote.StartupModules(ref System.Array)' has some invalid arguments Argument 1: cannot convert
    from 'ref string[]' to 'ref System.Array'</em></p>
  </blockquote>
  
  <p>Can you please give an advice on how to rewrite this code block to a more strict coding to resolve the stated error?</p>