9. Introduction to LINQ and the List Collection
Objectives
In this chapter you’ll:
Learn basic LINQ concepts.
Query an array using a range variable and the from
, where
and select
clauses.
Iterate over LINQ query results.
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.