Advantage of lambda expression in c# ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
+ 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