Friend Colin Whitlatch just sent me the following C# code snippet to mess with my Saturday morning. Note the underscore:
Action<object> strangeLambda = _ => Console.WriteLine("F# Rules"); strangeLambda(null); Console.ReadLine();
Friend Colin Whitlatch just sent me the following C# code snippet to mess with my Saturday morning. Note the underscore:
Action<object> strangeLambda = _ => Console.WriteLine("F# Rules"); strangeLambda(null); Console.ReadLine();
Comments are closed.
I prefer use "()=>" instead of "_=>" because "_" become a local variable in the lambda expression and we dont use it. "()" doesnt specify any variable.
Lionel,
I agree completely. Thanks for your comment.
James
@Lionel, ditto
http://pandoraforu11.blogspot.com/2011/06/attaining-good-results-throughout.html
http://www.cheapbagsplaza.com/
http://www.huntcheapbags.com/
http://www.myluxurybagsmall.com/
http://www.stylishbagszone.org
http://www.wantcheapbags.org
http://www.bagsonsalezone.com
http://www.ordercheapbags.com
http://www.shopluxurybags.com
http://www.shopluxurybags.com
http://www.cheapestbagscity.com
http://www.cheapbags2you.org