May 2010
Intermediate to advanced
1272 pages
61h 18m
English
ConcurrentDictionary(Of TKey, TValue)The ConcurrentDictionary collection has the same purpose of its thread-unsafe counterpart, but it differs in how methods work. All methods for adding, retrieving, and removing items return a Boolean value indicating success or failure, and their names all start with Try. The following code shows an example:

The logic of the collection is then the same of Dictionary, so refer to this one for details.
Read now
Unlock full access