© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. SarcarTest Your Skills in C# Programming https://doi.org/10.1007/978-1-4842-8655-5_12

12. Lambda Expressions

Vaskaran Sarcar1  
(1)
Garia, Kolkata, West Bengal, India
 
Lambda expressions and anonymous methods are two important concepts in advanced programming. Collectively, these are often referred to as anonymous functions. The concept of anonymous delegates (or methods) was introduced in C# 2.0, and lambda expressions were introduced in C# 3.0. Over time, lambda expressions became more popular than anonymous methods. If you target the .NET Framework 3.5 or later, it is recommended that you use lambda expressions. As a result, in most cases, today lambda ...

Get Test Your Skills in C# Programming: Review and Analyze Important Features of C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.