IList

Description

IList - abstract list interface.

Inheritance Hierarchy

          IEnumerable

          ICollection

          IList

Comments

The interface is basic for the IArrayList interface.

Properties inherited from ICollection

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

Methods

   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