title: pass parameters in reflection C#
body: <p>i have such code</p>
  
  <pre><code>Bitmap b = new Bitmap(@"d:\0.bmp");
  tessnet2.Tesseract ocr = new tessnet2.Tesseract();
  ocr.DoOCR(b, Rectangle.Empty);
  </code></pre>
  
  <p>the i try to make it through reflection</p>
  
  <pre><code>Assembly a = Assembly.Load("tessnet2_32");
  Type myType = a.GetType("tessnet2.Tesseract");
  MethodInfo mymethod = myType.GetMethod("DoOCR");
  Object obj = Activator.CreateInstance(myType);
  mymethod.Invoke(obj, null);
  </code></pre>
  
  <p>how can i pass parameters?</p>