9. Introduction to LINQ and the List Collection

Objectives

In this chapter you’ll:

Image Learn basic LINQ concepts.

Image Query an array using a range variable and the from, where and select clauses.

Image Iterate over LINQ query results.

Image Sort a LINQ query’s results with the orderby clause.

Learn basic interface concepts and how the IEnumerable<T> interface enables ...

Get C# 6 for Programmers, Sixth Edition 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.