1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
using System; public class Test { public static void Invoke<A, TR>(Func<A, Func<TR>> callee, A arg1, TR result) { } static Func<int> Method (string arg) { return null; } public static void Main() { Invoke(Method, "one", 1); } }