ReadOnlyDictionary<TKey, TValue>
public class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, ICollection
Provides the base class for a generic read-only dictionary.
Gets the number of key/value pairs contained in the
ReadOnlyDictionary<T, U>.
Gets or sets the value associated with the specified key.
Gets a collection containing the keys in the
ReadOnlyDictionary{TKey,TValue}.
Gets a collection containing the values of the
ReadOnlyDictionary<T, U>.
Initializes a new instance of the
ReadOnlyDictionary<T, U> class that wraps
the supplied values.
Determines whether the ReadOnlyDictionary<T, U>
contains the specified key.
Gets the value associated with the specified key.