Lambda Expressions
Syntax, delegates vs expression trees, LINQ/EF Core, memory cost, async lambdas
A lambda expression (x => x 2) is an anonymous function written inline. On its own it has no type: the compiler converts it either to a delegate (compiled IL you can call, such as Func) or to an expression tree…