Change “methodInfo” to “classInstance”, just like in the call with the null parameter array.
result = methodInfo.Invoke(classInstance, parametersArray);
Change “methodInfo” to “classInstance”, just like in the call with the null parameter array.
result = methodInfo.Invoke(classInstance, parametersArray);