Lambda Expressions in C# | Visual Studio 2019
A lambda expression with an expression on the right side of the operator is called an expression lambda. Expression lambdas are used extensively in the construction of expression trees. An expression lambda returns the result of the expression and takes the following basic form:
A statement lambda resembles an expression lambda except that the statement(s) is enclosed in braces: