Lambda expression in C#

Lambda expressions in C# is nothing but simply can say that is the combination of delegate and anonymous methods, the “=>” operator is known as lambda operator which will be used for any kind of lambda expressions.
Types of Lambda Expression:
1.     Expression Lambda: combination of both input and the expression.


2.     Statement Lambda: Combination of Both input and a Block of statements required for execution.


pu
Example,


                                                                                                                                   





Comments

Post a Comment

Popular posts from this blog