Is it possible to created a method that takes ANY method (regardless of it's parameters) as a parameter? The method would also have a params
parameter which then takes all the parameters for the parameter-method.
So basically what I want is something like this:
public void CallTheMethod(Action<int> theMethod, params object[] parameters)
But then for any method, not just for methods that takes an int.
Is something like this possible?
Thanks