All Articles

C# Lambda expressions

Lambda expressions are anonymous methods that does not have access modifiers, name or a return. They are used for convenience (less code) and makes code more readable. Lambda expression takes the form below – arg => expression //spelled as argument goes to expression This can be used in 3 distinct ways as below – ()…