Chapter 7Sorting and Grouping Queries
In This Chapter
Sorting Information
Grouping Information
“If they want peace, nations should avoid the pin-pricks that precede cannon shots.”
—Napoleon Bonaparte
The most common thing after selecting data is ordering that data. This chapter explores sorting information as well as the reverse capability of Language Integrated Query (LINQ), and looks at the brother of the select, grouping. LINQ supports ascending and descending sorts as well as secondary sorts. If you are familiar with something like Structured ...
Get LINQ Unleashed for C# now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.