IArrayList

Description

The IArrayList interface contains properties and methods that are used to work with dynamic array.

Inheritance Hierarchy

          IEnumerable

          ICollection

          IArrayList

Properties

  Property name Brief description
Capacity The Capacity property determines the number of elements that can be contained in the array.
Item The Item property returns elements value by index.

Properties inherited from ICollection

  Property name Brief description
Count The Count property returns the number of array elements.

Methods

   Method name Brief description
AddRange The AddRange method adds the collection to the end of the array.
BinarySearch The BinarySearch method executes binary search of elements in array.
BinarySearchRange The BinarySearchRange method executes binary search of the element in array range.
Clone The Clone method creates a copy of the array.
GetRange The GetRange method returns array range.
IndexOfPos The IndexOfPos method executes direct search for a value starting from a specified element.
IndexOfRange The IndexOfRange method executes direct search of the element in array range.
InsertRange The InsertRange method inserts collection of elements into the specified position.
LastIndexOf The LastIndexOf method reversely searches for value.
LastIndexOfPos The LastIndexOfPos method reversely searches for a value starting from the specified element.
LastIndexOfRange The LastIndexOfRange method reversely searches for the element in array range.
RemoveRange The RemoveRange method removes value range.
Reverse The Reverse method sets reverse order of array elements.
ReverseRange The ReverseRange method sets reverse order of array element range.
Sort The Sort method sorts an array.
SortRange The SortRange method sorts array range.
ToArray The ToArray method converts into standard array.
TrimToSize The TrimToSize method sets array size equal to actual number of elements in the array.

Methods inherited from IList

   Method name Brief description
The Add method adds an element and returns its index.
The Clear method clears the list.
The Contains method checks if an element exists.
The IndexOf method searches the Value value and returns the index in the list.
The Insert method inserts the element into the specified position.
The Remove method removes element by the value.
The RemoveAt method removes an element at the specified position.

Methods inherited from ICollection

  Method name Brief description
CopyTo The CopyTo method copies the collection into an array.

See also:

Collections Assembly Interfaces