Provides indexed access to an ordered collection of values.
IList<T> = interface(ICollection<T>)
Type Parameters
- T
The type of values in the list.
- Inheritance
- Derived
| Count |
Gets the number of values in the collection. (Inherited from IReadOnlyCollection<T>) |
| Items[Integer] |
Gets or sets the value at the specified index. |
| Add(T) |
Adds a value to the collection. (Inherited from ICollection<T>) |
| AddRange(IEnumerable<T>) |
Adds the values in a sequence to the collection. (Inherited from ICollection<T>) |
| AddRange(array of T) |
Adds the values in an open array to the collection. (Inherited from ICollection<T>) |
| Clear |
Removes all values from the collection. (Inherited from ICollection<T>) |
| Contains(T) |
Determines whether the collection contains a specific value. (Inherited from IReadOnlyCollection<T>) |
| Delete(Integer) |
Deletes the value at the specified index. |
| GetCount |
Gets the number of values in the collection. (Inherited from IReadOnlyCollection<T>) |
| GetEnumerator |
Returns an enumerator that iterates through the sequence. (Inherited from IEnumerable<T>) |
| GetItem(Integer) |
Gets the value at the specified index. |
| IndexOf(T) |
Returns the zero-based index of the first occurrence of a value. |
| Insert(Integer, T) |
Inserts a value at the specified index. |
| IsEmpty |
Determines whether the collection contains no values. (Inherited from IReadOnlyCollection<T>) |
| Remove(T) |
Removes the first occurrence of a value from the collection. (Inherited from ICollection<T>) |
| SetItem(Integer, T) |
Sets the value at the specified index. |
| Sort |
Sorts the values in the list by using the default comparer. |
| Sort(IComparer<T>) |
Sorts the values in the list by using a comparer. |
| Sort(TComparison<T>) |
Sorts the values in the list by using a comparison callback. |