O'Reilly logo

Programming Reactive Extensions and LINQ by Paul Betts, Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required