What are Lambda Expressions?

With Lambda expressions you can treat code as data. In C# 1.0 / 2.0, it is common to pass strings, integers, reference types, and so on to methods so that the methods can act on those values.

Anonymous methods and lambda expressions extend the range of the values to include code blocks. This concept is common in functional programming.

No comments: