Samples for Parallel Programming with the .NET Framework 4

Stephen Toub - MSFT

Along with the release of the .NET Framework 4 Beta 1, we’ve just published a slew of samples that demonstrate using Parallel Extensions in a variety of ways.  You can download these from Code Gallery at

These samples include raytracers, a sudoku game, an image colorization algorithm, solvers for the n-queens problem, fractal image generators, and more.  The samples include code written to use Parallel Extensions from C#, Visual Basic, F#, and C++/CLI.  They include examples of using the Task Parallel Library, PLINQ, new coordination data structures, and even databinding a WPF UI to a collection that has data stored into it from a background thread. 

On top of all of this, the samples include a project called “Parallel Extensions Extras”, which features a healthy portion of extension methods for .NET 4 types, new data structures to augment what’s being shipped in .NET 4, custom schedulers for TPL, and lots of other goodness.  Definitely worth a perusal.



Discussion is closed. Login to edit/delete existing comments.

  • Richard Boyer 0

    The link to the samples is going to Browse Samples but the samples are nowhere to be found. Help please!

    • Stephen Toub - MSFTMicrosoft employee 0

      It looks like the samples from 2009 are no longer available.

Feedback usabilla icon