The properties of the Dictionary class are listed below. For a complete list of Dictionary class members, see the Dictionary Members topic.
Count | Gets the number of key-and-value pairs in the Dictionary. |
IsReadOnly | Gets a value indicating whether the Dictionary is read-only. |
IsSynchronized | Gets a value indicating whether access to the Dictionary is synchronized (thread-safe). |
Item | Gets or sets the value associated with the specified key.
In C#, this member is the indexer for the Dictionary class. |
Keys | Gets an ICollection containing the keys in the Dictionary. |
SyncRoot | Gets an object that can be used to synchronize access to the Dictionary. |
Values | Gets an ICollection containing the values in the Dictionary. |