title: Passing array of strings from JS to C# inside WebBrowser control
body: <p>I'm using ObjectForScripting property to interact with web page inside WebBrowser control and everything works fine except I can't figure out how to pass array of strings back to C#</p>
  
  <p>HTML code</p>
  
  <pre><code>&lt;input type="submit" onclick="window.external.save(Array('test', 'test2'))" /&gt;
  </code></pre>
  
  <p>Form</p>
  
  <pre><code>// Returns System.__ComObject
  public void Save(object parameters)
  {
  }
  
  // Throws an exception
  public void Save(object[] parameters)
  {
  }
  
  // Also throws an exception
  public void Save(string[] parameters)
  {
  }
  </code></pre>