Lambda Expressions

Lambda expressions exist in the .NET development from the previous version, and therefore they have been available since Visual Basic 2008. Because of their flexibility, they are one of the most important additions to .NET programming languages in the past years. The main purpose of lambda expressions, as for other language features, is related to LINQ, as you see in the next chapters. They can also be successfully used in lots of programming scenarios. Lambdas in Visual Basic 2010 have been improved in several aspects: To provide a logical approach we discuss lambda expressions by first talking about the VB 2008 syntax and then diving into the new characteristics. Basically lambda expressions in Visual Basic are anonymous ...

Get Visual Basic® 2010 Unleashed 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.