A lambda expression is written as a parameter list, followed by an expression or a statement block, the basic form:

(input-parameters) => expression

The parameters of a lambda expression can be explicitly or implicitly typed. In an explicitly typed parameter list, the type of each parameter is explicitly stated. In an implicitly typed parameter list, the types of the parameters are inferred from the context in which the lambda expression occurs.

Examples of lambda expressions

x => x + 1                              // Implicitly typed, expression body
x => { return x + 1; }              // Implicitly typed, statement body
(int x) => x + 1                       // Explicitly types, expression body
(int x) => { return x + 1; }       // Explicitly typed, statement body
(x, y) => x * y                         // Multiple parameters
() => Console.WriteLine()      // No parameters

There is no mapping for this feature.