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?
The SynchronizedCollection<T>
class