What is the difference between SynchronizedCollection<T> and the other concurrent collections?

Batrickparry picture Batrickparry · Jan 11, 2011 · Viewed 24.9k times · Source

How does SynchronizedCollection<T> and the concurrent collections in the System.Collections.Concurrent namespace differ from each other, apart from Concurrent Collections being a namespace and SynchronizedCollection<T> being a class?

SynchronizedCollection<T> and all of the classes in Concurrent Collections provide thread-safe collections. How do I decide when to use one over the other, and why?

Answer

Cody Gray picture Cody Gray · Jan 11, 2011