Lambdas
Create anonymous methods using a more concise syntax.
We'll cover the following...
We'll cover the following...
Overview
Lambdas are a simpler way to declare anonymous methods, though the syntax might look a bit tricky at first.
Let’s look at an example. We’ll rewrite the code from the previous lesson:
Syntax and usage
Let’s disassemble the lambda expression to understand its individual parts: ...