Hi Everyone!
I want to have a class that will execute any external method, like this:
class CrazyClass
{
//other stuff
public AnyReturnType Execute(AnyKindOfMethod Method,
object[] ParametersForMethod)
{
//more stuff
return Method(Parameters) //or something like that
}
}
Is this possible? Is there a delegate that takes any method signature?
Can you answer this question?
Write Answer2 Answers