I am loading a dll using reflection and trying to invoke a method that returns a List<customType>
. How do I invoke a method and get the return values. I tried this but says entry point not found exception
.
MethodInfo[] info= classType.GetMethods();
MethodInfo method = mInfo.FirstOrDefault(c => c.Name == "GetDetails");
object values = method.Invoke(classInstance, new object[] { param1});
values has the exception entry point not found
.