O'Reilly logo

Visual Basic® 2012 How to Program, Sixth Edition by Paul Deitel, Abbey Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11. Introduction to LINQ

You shall listen to all sides and filter them from your self.

—Walt Whitman

Objectives

In this chapter you’ll learn:

• Basic LINQ concepts.

• How to query an array using LINQ.

• How to sort an array in ascending or descending order using LINQ.

• How to perform transformations on the results of a LINQ query.

• How to select a portion of the properties for each object in a query result.

• How to create new objects as the result of a LINQ query.

• How a LINQ query executes only when you iterate over the results—a concept called deferred execution.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required