| ArrayList Methods | 
The ArrayList type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Add | Adds an object to the end of the ArrayList. | 
|  | AddRange | Adds the elements of an ICollection to the end of the ArrayList. | 
|  | BinarySearch(Object) | Searches the entire sorted ArrayList for an element using the default comparer and returns the zero-based index of the element. | 
|  | BinarySearch(Object, IComparer) | Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element. | 
|  | BinarySearch(Int32, Int32, Object, IComparer) | Searches a range of elements in the sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element. | 
|  | Clear | Removes all elements from the ArrayList. | 
|  | Contains | Determines whether an element is in the ArrayList. | 
|  | CopyTo(Array) | |
|  | CopyTo(Array, Int32) | |
|  | CopyTo(Int32, Array, Int32, Int32) | |
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetEnumerator | Returns an enumerator for the entire ArrayList. | 
|  | GetEnumerator(Int32, Int32) | Returns an enumerator for a range of elements in the ArrayList. | 
|  | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | IndexOf(Object) | |
|  | IndexOf(Object, Int32) | |
|  | IndexOf(Object, Int32, Int32) | |
|  | Insert | Inserts an element into the ArrayList at the specified index. | 
|  | InsertRange | Inserts the elements of a collection into the ArrayList at the specified index. | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | Remove | Removes the first occurrence of a specific object from the ArrayList. | 
|  | RemoveAt | Removes the element at the specified index of the ArrayList. | 
|  | RemoveRange | Removes a range of elements from the ArrayList. | 
|  | Reverse | Reverses the order of the elements in the entire ArrayList. | 
|  | Reverse(Int32, Int32) | Reverses the order of the elements in the specified range. | 
|  | Sort | Sorts the elements in the entire ArrayList. | 
|  | Sort(IComparer) | Sorts the elements in the entire ArrayList using the specified comparer. | 
|  | Sort(Int32, Int32, IComparer) | Sorts the elements in a range of elements in ArrayList using the specified comparer. | 
|  | ToArray | |
|  | ToArray(Type) | Copies the elements of the ArrayList to a new array of the specified element type. | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 See Also
See Also