Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
LINQ to Objects allows .NET developers to write “queries” over collections of objects. Microsoft provides a large set of query operators out of the box, and these operators offer a similar depth of functionality to what is expected from any SQL language working with a relational database.
Traditionally, working with collections of objects meant writing a lot of looping code using for loops or foreach loops to iterate through a collection, carrying out filtering using if statements, while performing other computations like keeping a running sum of a total property.