Backend line

Lambda Expressions

Syntax, delegates vs expression trees, LINQ/EF Core, memory cost, async lambdas

1 sections

Start: Lambda Expressions

Mid-level 1

  1. Lambda ExpressionsA 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<int, int>) or to an expression tree…, not read