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();
Tags:
C# | Anti-recipe
Related posts
Comments
1/29/2011 12:56:05 PM #
I prefer use "()=>" instead of "_=>" because "_" become a local variable in the lambda expression and we dont use it. "()" doesnt specify any variable.
Lionel
2/6/2011 8:08:48 PM #
Lionel, I agree completely. Thanks for your comment. James
James Ashley
2/11/2011 4:36:38 AM #
@Lionel, ditto
Tom
6/8/2011 5:01:09 AM #
pandoraforu11.blogspot.com/.../...-throughout.html
pandoraforu11
7/10/2011 11:23:53 PM #
http://www.cheapbagsplaza.com/http://www.huntcheapbags.com/http://www.myluxurybagsmall.com/http://www.stylishbagszone.orghttp://www.wantcheapbags.orghttp://www.bagsonsalezone.comhttp://www.ordercheapbags.comhttp://www.shopluxurybags.comhttp://www.shopluxurybags.comhttp://www.cheapestbagscity.comhttp://www.cheapbags2you.org
Cheap LV Handbags