+ 3

Advantage of lambda expression in c# ?

The usage and advantage of lambda expressions.

2nd Dec 2017, 10:27 AM
Shivanand Nagarabetta
Shivanand Nagarabetta - avatar
1 ответ
+ 9
Lambda expressions are a simpler syntax for anonymous delegates and can be used everywhere an anonymous delegate can be used. However, the opposite is not true; lambda expressions can be converted to expression trees which allows for a lot of the magic like LINQ to SQL. Source - https://stackoverflow.com/questions/167343/c-sharp-lambda-expressions-why-should-i-use-them
2nd Dec 2017, 10:45 AM
qwerty
qwerty - avatar