Share via


ICollection.Count Property

When implemented by a class, this property gets the number of objects contained in a specific ICollection collection.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual abstract int Count { get; }

Property Value

The number of objects contained in the collection.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

ICollection Interface
ICollection Members
System.Collections Namespace