1

It's not quite clear from this post: https://devblogs.microsoft.com/pfxteam/concurrentdictionarys-support-for-adding-and-updating/

snipsnipsnip
  • 2,268
  • 2
  • 33
  • 34
Andrei Sedoi
  • 1,534
  • 1
  • 15
  • 28

1 Answers1

4

Sure. Otherwise it would be useless, as this is a thread safe alternative to Dictionary<TKey, TValue>. See the documentation: http://msdn.microsoft.com/en-us/library/dd287191.aspx:

Thread Safety

All public and protected members of ConcurrentDictionary<TKey, TValue> are thread-safe and may be used concurrently from multiple threads.

Community
  • 1
  • 1
Daniel Hilgarth
  • 171,043
  • 40
  • 335
  • 443