src/NetStandard/Collections/Collections/src/Specialized/OrderedDictionary.cs
/// <summary>
/// Returns the KeyValuePair at the index specified.
/// </summary>
/// <param name="index">The index of the KeyValuePair desired</param>
/// <exception cref="ArgumentOutOfRangeException">
/// Thrown when the index specified does not refer to a KeyValuePair in this object
/// </exception>
Returns the KeyValuePair at the index specified.
Returns the KeyValuePair at the index specified .
public KeyValuePair<K, V> GetItem(int index)
        {
            if (index < 0 || index >= keyedCollection.Count) {
                throw new ArgumentException("The index was outside the bounds of the dictionary: " + index);
            }
            return keyedCollection[index];
        }
public KeyValuePair < K , V > GetItem ( int index ) { if ( index < 0 || index >= keyedCollection . Count ) { throw new ArgumentException ( " " + index ) ; } return keyedCollection [ index ] ; }
Returns the KeyValuePair at the index specified.
Returns the KeyValuePair at the index specified .
Thrown when the index specified does not refer to a KeyValuePair in this object
Thrown when the index specified does not refer to a KeyValuePair in this object
index
int
The index of the KeyValuePair desired
The index of the KeyValuePair desired