Problem
I have a method:
public static Delegate MethodToDelegate(MethodInfo method) { Delegate d = ...; // использовать ТОЛЬКО параметр method и d return d; } How do i create a delegate d in this method. I know that you can use the CreateDelegate , but how do I know the type of the delegate?