Chapter 9. Introduction to LINQ and the List Collection


To write it, it took three months; to conceive it three minutes; to collect the data in it—all my life.

 --F. Scott Fitzgerald

Science is feasible when the variables are few and can be enumerated...

 --Paul Valéry

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

 --Walt Whitman

The portraitist can select one tiny aspect of everything shown at a moment to incorporate into the final painting.

 --Robert Nozick

List, list, O, list!

 --William Shakespeare
<feature> <supertitle>Objectives</supertitle>

In this chapter you’ll learn:


Basic LINQ concepts.


How to query an array using LINQ.


Basic .NET collections concepts.

</objective> ...

Get Visual C# 2010: How to Program, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.