Nu/Nu.Math/OrderedDictionary.cs
/// <summary>
/// Adds the given key/value pair to the dictionary.
/// </summary>
/// <param name="key">The key to add to the dictionary.</param>
/// <param name="value">The value to associated with the key.</param>
/// <exception cref="System.ArgumentException">The given key already exists in the dictionary.</exception>
/// <exception cref="System.ArgumentNullException">The key is null.</exception>
Adds the given key/value pair to the dictionary.
Adds the given key / value pair to the dictionary .
public void Add(TKey key, TValue value)
        {
            dictionary.Add(key, values.Count);
            keys.Add(key);
            values.Add(value);
            ++version;
        }
public void Add ( TKey key , TValue value ) { dictionary . Add ( key , values . Count ) ; keys . Add ( key ) ; values . Add ( value ) ; ++ version ; }
Adds the given key/value pair to the dictionary.
Adds the given key / value pair to the dictionary .
The given key already exists in the dictionary.
The given key already exists in the dictionary .
The key is null.
The key is null .
key
TKey
The key to add to the dictionary.
The key to add to the dictionary .
value
TValue
The value to associated with the key.
The value to associated with the key .