Introducing Standard Query Operators

Querying objects with LINQ (as much as XML documents and ADO.NET models) is accomplished via the standard query operators that are a set of Visual Basic keywords allowing performing both simple and complex tasks within LINQ queries. This chapter covers standard query operators illustrating their purpose. For this, remember that this topic is important because you need operators in other LINQ providers as well. You can also notice that standard query operators have extension methods counterparts that you can use as well.

Coding Tips

The following examples consistently use local type inference and array literals. They dramatically speed up writing LINQ queries, and therefore using such a feature is something ...

Get Visual Basic 2015 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.