Chapter 1. Introducing LINQ

This chapter covers

  • LINQ’s origins
  • LINQ’s design goals
  • First steps with LINQ to Objects, LINQ to XML, and LINQ to SQL

Software is simple. It boils down to two things: code and data. Writing software is not so simple, and one of the major activities it involves is writing code that deals with data.

To write code, we can choose from a variety of programming languages. The selected language for an application may depend on the business context, on developer preferences, on the development team’s skills, on the operating system, or on company policy.

Whatever language you end up with, at some point you will have to deal with data. This data can be in files on a disk, tables in a database, or XML documents coming ...

Get LINQ in Action 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.