Initializes a new instance of the System.Collections.Generic.List class that is empty and has the default initial capacity.
Generic type argument
Gets the number of elements contained in the System.Collections.Generic.List.
The number of elements contained in the System.Collections.Generic.List.
Adds an object to the end of the System.Collections.Generic.List.
The object to be added to the end of the System.Collections.Generic.List. The value can be null for reference types.
Removes all elements from the System.Collections.Generic.List.
Determines whether an element is in the System.Collections.Generic.List.
The object to locate in the System.Collections.Generic.List. The value can be null for reference types.
true if item is found in the System.Collections.Generic.List; otherwise, false.
Searches for the specified object and returns the zero-based index of the first occurrence within the entire System.Collections.Generic.List.
The object to locate in the System.Collections.Generic.List. The value can be null for reference types.
The zero-based index of the first occurrence of item within the entire System.Collections.Generic.List, if found; otherwise, -1.
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the System.Collections.Generic.List that extends from the specified index to the last element.
The object to locate in the System.Collections.Generic.List. The value can be null for reference types.
The zero-based starting index of the search. 0 (zero) is valid in an empty list.
The zero-based index of the first occurrence of item within the range of elements in the System.Collections.Generic.List that extends from index to the last element, if found; otherwise, -1.
Inserts an element into the System.Collections.Generic.List at the specified index.
Removes the first occurrence of a specific object from the System.Collections.Generic.List.
The object to remove from the System.Collections.Generic.List. The value can be null for reference types.
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the System.Collections.Generic.List.
Removes the element at the specified index of the System.Collections.Generic.List.
The zero-based index of the element to remove.
Static
EqualsDetermines whether the specified object instances are considered equal.
The first object to compare.
The second object to compare.
true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.