title: Get return value after invoking a method from dll using reflection
body: <p>I am loading a dll using reflection and trying to invoke a method that returns a <code>List&lt;customType&gt;</code>. How do I invoke a method and get the return values. I tried this but says <code>entry point not found exception</code>. </p>
  
  <pre><code>MethodInfo[] info= classType.GetMethods();
  MethodInfo method = mInfo.FirstOrDefault(c =&gt; c.Name == "GetDetails");
  object values = method.Invoke(classInstance, new object[] { param1});
  </code></pre>
  
  <p>values has the exception <code>entry point not found</code>. </p>