ICollection

Description

ICollection is an abstract interface that contains basic properties and methods from all collections.

Inheritance Hierarchy

          IEnumerable

          ICollection

Comments

All collections inherited from ICollection support working via the For Each cycle.

The interface is basic for the following interfaces:

Properties

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

Methods

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

See also:

Collections Assembly Interfaces