3 // Lambda expression test overload resolution with parameterless arguments
7 delegate string funcs (string s
);
8 delegate int funci (int i
);
11 static void Foo (funci fi
)
14 Console
.WriteLine (res
);
17 static void Foo (funcs fs
)
19 string res
= fs ("hello");
20 Console
.WriteLine (res
);
23 public static void Main ()
25 Foo (x
=> x
+ "dingus");