title: Getting a return value from a methodInfo.invoke
body: <p>How do I get a return value <code>(int)</code> from a <code>methodInfo.invoke</code>?</p>
  
  <p>What makes it difficult for me is the fact that I use a string variable to call the method.</p>
  
  <p>Check the example below:</p>
  
  <pre><code>if (Convert.ToBoolean(getParameterFromXML("issue", k, 1)) == true)
  {
      m = k + 1;
  
      MethodInfo methodInfo = typeof(frmDetails).GetMethod("Issue" + m);
      methodInfo.Invoke(this, Parameters);
  
  }
  </code></pre>
  
  <p>What can I do? Any help would be appreciated.</p>