IArrayList

Description

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

Inheritance Hierarchy

          IEnumerable

          ICollection

          IList

          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 the array range according to the specified parameters.
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
Add

The Add method adds an element and returns its index.
Clear

The Clear method clears the list.
Contains

The Contains method checks if an element exists.
IndexOf

The IndexOf method searches the Value value and returns the index in the list.
Insert

The Insert method inserts the element into the specified position.
Remove

The Remove method removes element by the value.
RemoveAt

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