title: Passing parameters dynamically into Method.Invoke
body: <p>I have methods in a class</p>
  
  <pre><code>public class ReflectionClass {
      public int add(int a, int b) {
          return a + b;
      }
      public int add(int a, int b, int c) {
          return a + b + c;
      }
      public String concatenate (String a, String b, String c){
          return a + b + c;
      }
  }
  </code></pre>
  
  <p>I'm trying to call these methods through reflection. All I have in hand are - the method name and the parameters. Is there a way to pass the parameters into the Method.Invoke() method dynamically based on the number/type of parameters I have in hand?</p>