C Sharp/Lambda

Introduction
Lambda expressions are one of the forms of anonymous methods in .Net, which can be used for passing as inputs for local functions or as an expression to execute inline. Lambda expressions are particularly helpful for writing LINQ query expressions.

Lambda expressions helps in simplifying the logical statements and looping statements. This is possible for enumerable types where we can use Lambda expressions instead of writing looping statements or logical statements in multiple execution lines making code look cleaner and simple.