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

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -