.NET 4 contains the new namespace System.Collections.Concurrent with several new thread-safe collection classes. Thread-safe collections are guarded from multiple threads accessing the collections in conflicting ways.
- ConcurrentQueue
- ConcurrentStack
- ConcurrentBag
- ConcurrentDictionary
- ConcurrentXXX
- BlockingCollection
Comments on Each bullet with perfect example.
Jignesh TrivediPosted Jun 5, 2013, 11:14 PM
following MSDN link containing full description of each type.
http://msdn.microsoft.com/en-us/library/system.collections.concurrent.aspx