Choosing your IDE

The examples in this book can be run in any version of Visual Studio 2010 or later, or, with very minor modifications, in LINQPad, a free utility (download at http://linqpad.net) that provides an easy way to quickly try out sets of LINQ statements without the overhead of a complete development environment.

Let's look at a simple example, first using Visual Studio and then LINQPad. To begin, open Visual Studio and create a new Console Application named QueryAgainstListOfIntegers. The complete source code is as follows:

using System; using System.Collections.Generic; using System.Linq; namespace QueryAgainstListOfIntegers {    internal class Program    {       private static void Main( string[ ] args )       {          var list ...

Get Programming Reactive Extensions and LINQ 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.