SortedList<TKey,TValue>.GetValueAtIndex(Int32) Method

Definition

Gets the value corresponding to the specified index.

public TValue GetValueAtIndex (int index);

Parameters

index
Int32

The zero-based index of the value within the entire SortedList<TKey,TValue>.

Returns

TValue

The value corresponding to the specified index.

Exceptions

The specified index was out of range.

Applies to

Product Versions
.NET 7, 8, 9