If you own the book on LINQ to Objects and want to follow the examples used throughout the book, download the sample application. This is currently tested with Visual Studio 2010 Beta 2.
More information about the book can be found here.EditView the Samples Online
All of the Listings and console outputs can be seen of this wiki. Each chapter link here shows all of the code listings in the book. Use the Table of Contents at the top of each page to help you navigate.
Chapter 1 Code Listings and Console Output
Chapter 2 Code Listings and Console Output
Chapter 3 Code Listings and Console Output
Chapter 4 Code Listings and Console Output
Chapter 5 Code Listings and Console Output
Chapter 6 Code Listings and Console Output
Chapter 7 Code Listings and Console Output
Chapter 8 Code Listings and Console Output
Chapter 9 Code Listings and Console OutputThese pages were generated using the sample application, and will be updated from time to time. The execution times are based upon my machine, and captured to give you an indication only of relative timings - when you run these samples, the times WILL be different!
EditDownload the Sample application
Instructions:
1. Download the sample application.
2. Create a folder of your choice and unzip the contents of the downloaded zip file. The Solution file is at the root of the zip file, unzip it into a folder.
3. To run the parallel examples for chapter 9, download the allCountries.txt file (also zipped) from
here; Unzip and place this folder in the Data folder below where the sample application runs (normally bin\debug\data).
Downloads:
LINQ to Objects using C# 4.0 Samples (Version 1.1 for Visual Studio 2010 Beta 2).EditGetting Visual Studio 2010 for free
Visual Studio 2010 is still in beta. During this time you can
download it for free at this location.
When it is released, you will still be able to download the Express Edition (capable of running all the samples provided). I'll post that link when it is released.
EditGeonames files
The examples using the Paralell LINQ extensions use the AllCountries.txt file from http://www.geonames.org as a data-source (I needed something big!). It is not included in the main sample application to avoid lumping in a 700MB file! Download it separately from the following locations and inzip it into your bin\debug\data folder wherever you unzip and execute the sample application from.
http://download.geonames.org/export/dump/allCountries.zipEditGetting the book
You can read it now as a Rough-Cut book on Safari -
Rough Cut - LINQ to Objects using C# 4.0 (including PLINQ)or pre-order it from Amazon (due early 2010 when Visual Studio 2010 is released) -