Partager via


Stack.Count Property

Gets the number of elements contained in the Stack.

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

Syntax

public virtual int Count { get; }

Property Value

The number of elements contained in the Stack.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace