title: Anonymous type as method parameter
body: <p>My first try to use anonymous types(test):</p>
  
  <pre><code>    private void button4_Click(object sender, EventArgs e)
      {
          test(new { a = "asd" });
      }
  
      private void test(string a)
      {
      }
  </code></pre>
  
  <p>I get an error "cannot convert from 'AnonymousType#1' to 'string' "</p>
  
  <p>Also I'd like to know how to pass an anonymous type if the parameter is a string[]</p>
  
  <pre><code>    private void test(string[] a)
      {
      }
  </code></pre>
  
  <p>Thanks in advance!</p>