You are previewing LINQ in Action.

LINQ in Action

Cover of LINQ in Action by Fabrice Marguerie... Published by Manning Publications
O'Reilly logo

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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.