Dictionary type.
    public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable

Dictionary type. Associative container which contains values referenced by unique keys. Dictionaries are always passed by reference.

Inheritance Chain

Interfaces

Constructors

    public Dictionary()

    public Dictionary(Dictionary dictionary)

Properties

    public int Count { get; }

    public bool IsReadOnly { get; }

    public ICollection&lt;TKey&gt; Keys { get; }

    public TValue this[] { get; set; }

    public ICollection&lt;TValue&gt; Values { get; }

Methods

    public void Add(TKey key, TValue value)

    public void Add(KeyValuePair<TKey, TValue> item)

    public void Clear()

    public bool Contains(KeyValuePair<TKey, TValue> item)

    public bool ContainsKey(TKey key)

    public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)

    public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()

    public bool Remove(TKey key)

    public bool Remove(KeyValuePair<TKey, TValue> item)

    public bool TryGetValue(TKey key, out TValue value)

Conversion Operators

    public static explicit operator Dictionary(Dictionary<TKey, TValue> from)
Tags: