Mono Class Library: System.Collections.Generic Namespace

System.Collections.Generic.ICollection<T>

Defines size and copying methods for all generic collections.

See Also: ICollection<T> Members

public interface ICollection<T> : IEnumerable<T>

Type Parameters

T
Documentation for this section has not yet been entered.

Remarks

Note:

This interface is the base interface for classes in the Collections.Generic namespace.

This interface extends IEnumerable<T>; IDictionary<T, U> and IList<T> are more specialized interfaces that extend ICollection<T>.

Some collections that limit access to their elements, like the Queue<T>class and the Stack<T> class, directly implement the ICollection<T> interface.

Requirements

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0