Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

lambda operator c# learning [closed]

Tags:

c#

.net

lambda

Can you recommend me on places where i can read and see examples on usage of Lambda operator in c# .

I will really like to see a lot examples on it...

Thanks.

like image 557
Night Walker Avatar asked Mar 19 '10 11:03

Night Walker


3 Answers

Here is several tutorials about lambdas:
http://msdn.microsoft.com/en-us/library/bb397687.aspx
http://blogs.msdn.com/ericwhite/pages/Lambda-Expressions.aspx

And here are Eric Lippert's posts on the subject:
http://blogs.msdn.com/ericlippert/archive/tags/Lambda+Expressions/default.aspx

like image 172
Andrew Bezzub Avatar answered Oct 19 '22 01:10

Andrew Bezzub


Eric White has a nice blog entry on some examples of Lambda expressions:

http://blogs.msdn.com/ericwhite/pages/Lambda-Expressions.aspx 

Otherwise, as each expressions is generally bespoke to the requirement I'd advise a decent book to get you started. Many of the Linq title cover lambda expressions well. Personally I'd recommend Linq in Action

like image 35
Brian Scott Avatar answered Oct 19 '22 02:10

Brian Scott


Apart from a search on Google, I'd probably recommend getting the free version of CodeRush / Refactor! from DevExpress. One of the refactorings is to convert code to lambda expressions, and can be an excellent way to see real-world, relevant examples based on your own code.

Edit: The Lambda Refactorings that come with CodeRush Xpress are detailed here

like image 2
ZombieSheep Avatar answered Oct 19 '22 01:10

ZombieSheep