I have code:
public delegate int SomeDelegate(int p); public static int Inc(int p) { return p + 1; }
I can cast Inc to
Inc
Try this:
Func c = (Func)Delegate.CreateDelegate(typeof(Func), b.Target, b.Method);