Top "Concurrent-collections" questions

Concurrent Collections are several collection implementations in .Net that support multi-threaded access in a safe and efficient way

What to add for the update portion in ConcurrentDictionary AddOrUpdate

I am trying to re-write some code using Dictionary to use ConcurrentDictionary. I have reviewed some examples but I am …

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

How does SynchronizedCollection<T> and the concurrent collections in the System.Collections.Concurrent namespace differ from each other, …

c# collections .net-4.0 thread-safety concurrent-collections
Is the ConcurrentDictionary thread-safe to the point that I can use it for a static cache?

Basically, if I want to do the following: public class SomeClass { private static ConcurrentDictionary<..., ...> Cache { get; set; } } Does …

c# locking static-members concurrent-collections