ReadOnlyDictionary<TKey, TValue>
public class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IDictionary, ICollection, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>
Represents a read-only, generic collection of key/value pairs.
public sealed class KeyCollection<TKey, TValue> : ICollection<TKey>, IEnumerable<TKey>, IEnumerable, ICollection, IReadOnlyCollection<TKey>
Represents a read-only collection of the keys of a ReadOnlyDictionary<T, U> object.
public sealed class ValueCollection<TKey, TValue> : ICollection<TValue>, IEnumerable<TValue>, IEnumerable, ICollection, IReadOnlyCollection<TValue>
Represents a read-only collection of the values of a ReadOnlyDictionary<T, U> object.
Gets the number of items in the dictionary.
Gets the dictionary that is wrapped by this ReadOnlyDictionary<T, U> object.
Gets the element that has the specified key.
Gets a key collection that contains the keys of the dictionary.
Gets a collection that contains the values in the dictionary.
Initializes a new instance of the ReadOnlyDictionary<T, U> class that is a wrapper around the specified dictionary.
Determines whether the dictionary contains an element that has the specified key.
Returns an enumerator that iterates through the ReadOnlyDictionary<T, U>.
Retrieves the value that is associated with the specified key.