Gets or sets the element at the specified index of the current instance.
This is the default property for this class.
public T this [int index] { set; get; }
- index
- The zero-based index of the element in the current instance to get or set.
The element at the specified index of the current instance.
Type Reason ArgumentOutOfRangeException index < 0.
-or-
index >= System.Collections.Generics.List<T>.Count of the current instance.
Documentation for this section has not yet been entered.
Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0