c# - what type should i specify for lambda expression in method call -
see small code , tell me type should use in method call
method((i => i>7)); public void method(which type should specify here?) { // stuff }
it seems type func<int, bool>
. also, additional parenthesis around lambda useless.
Comments
Post a Comment