Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
May 05, 2012 07:28 AM|LINK
Are both method threadsafe. I mean if two processes try to access the dictionary at the same time, it will not throw an exception?
Yes they are thread safe. The ConcurrentDictionary class internally uses Monitor(C# lock). You can see
this for understanding why normal dictionaries are not thread safe.