Concurrent Programming with .NET4 Collections

Download this episode

Download Video


Join Josh and Steve as they demonstrate how to use various concurrency-safe Collections classes.

Collections and related constructs are new with .NET4 and Visual Studio 2010.

Learn more about the System.Collections.Concurrent namespace and keep abreast of Parallel Computing tools and techniques via the Concurrency Dev Center.

See all videos in this series.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      Thanks for the tour of the new concurrent data structures available in .Net 4.0 - some good stuff in there!  I also wanted to thank Steve for his presentation at CINNUG a few weeks back on parallel programming in .Net 4.0.  I enjoyed it greatly and look forward to being able to use some of this on my own projects.

    • User profile image

      This one looks nice.  Not at all like the complete hack job "Countdown Synchronization Primitive" that I do hope they will be telling us has been fixed or removed.

    • User profile image
      Simon Gao

      this presider speaks too fast, we need time to consume the newborn thing whatever they are. So i hope there is a little interval to understand them. Thank you.

    • User profile image

      The bag rocks.


      @Simon Gao: if watching in Windows Media Player, you can slow down the playback using the built in enhancements.

    • User profile image

      I'm curious about what pattern is recommended for when a Try... operation fails.  For example, one might consider this without too much thought:


      string myValue; 
      while(!myQueue.TryDequeue(out myValue)){} 
      //now I have my value...


      Because in that case, I really really needed my value as soon as possible...  Lets say I don't spin on the TryDequeue like above, what are the alternatives?  Timer retry?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.