Compartir a través de


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, 4.1, and 4.2.

See Also

Reference

ICollection Interface
ICollection Members
System.Collections Namespace