title: How do you pass parameters by ref when calling a static method using reflection?
body: <p>I'm calling a static method on an object using reflection:</p>
  
  <pre><code>MyType.GetMethod("MyMethod", BindingFlags.Static).Invoke(null, new object[] { Parameter1, Parameter2 });
  </code></pre>
  
  <p>How do you pass parameters by ref, rather that by value?  I assume they would be by value by default.  The first parameter ("Parameter1" in the array) should be by ref, but I can't figure out how to pass it that way.</p>