title: C# : Invoke a method with [Type].InvokeMember() in a separate Thread
body: <p>I am using this code where I am invoking the <code>run</code> method of a List of classes that I loaded dynamically from dlls:</p>
  
  <pre><code>for (int i = 0; i &lt; robotList.Count; i++)
  {
      Type t = robotList[i]; //robotList is a List&lt;Type&gt;
      object o = Activator.CreateInstance(t);
      t.InvokeMember("run", BindingFlags.Default | BindingFlags.InvokeMethod, null, o, null);
  }
  </code></pre>
  
  <p>The <code>invokeMember</code> is invoking the <code>run</code> methodof each of the classes in the list.</p>
  
  <p>Now <strong>how can I invoke this <code>run</code> method from <code>invokeMember</code> in a separate Thread</strong> ?  So that I'll have separate threads running for each of the invoked methods.</p>