Core/CafeLib.Core.Collections/Dictionary/OrderedDictionary.cs
/// <summary>
/// Removes the entry at the specified index from the <see cref="OrderedDictionary{TKey,TValue}">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.
/// </summary>
/// <param name="index">The zero-based index of the entry to remove.</param>
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0.<br/>
/// -or-<br/>
/// index is equal to or greater than <see cref="Count"/>.</exception>
Removes the entry at the specified index from the OrderedDictionary
Removes the entry at the specified index from the OrderedDictionary
public void RemoveAt(int index)
        {
            if (index >= Count || index < 0)
                throw new ArgumentOutOfRangeException(nameof(index), "'index' must be non-negative and less than the size of the collection");
            var key = List[index].Key;
            List.RemoveAt(index);
            Dictionary.Remove(key);
        }
public void RemoveAt ( int index ) { if ( index >= Count || index < 0 ) throw new ArgumentOutOfRangeException ( nameof ( index ) , " " ) ; var key = List [ index ] . Key ; List . RemoveAt ( index ) ; Dictionary . Remove ( key ) ; }
Removes the entry at the specified index from the OrderedDictionary<TKey,TValue>
Removes the entry at the specified index from the OrderedDictionary<TKey TValue >
None
index
int
The zero-based index of the entry to remove.
The zero - based index of the entry to remove .