Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
What's the problem here?
4 Respostas
+ 3
Shweta Mahajan
The object op of MethodInfo is null. You need to take care of it like this
doubleĀ resultĀ =Ā 0.0;
if (op != null)
result = (double)op.Invoke(pol,Ā new object[] {});
+ 8
Ig the issue starts from the line 66!
Coz there might be a misconception in "ecomy times" ..
Is it Shweta Mahajan ?
+ 2
AJ #Learn With Me šØāš»
Appreciate your help ! š
It's working now.
+ 1
Piyush[21 Decā¤ļø]
Solved it!
MethodInfo was the problem here, I intentionally added new Type[] so that I can access other methods also (for separate program), the main method was forcing to get other method which is not present in the namespace.