Stack.Clear Method

Removes all objects from the Stack.

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

Syntax

[MethodImplAttribute(InternalCall)]
public virtual void Clear ()

Version Information

Available in the .NET Micro Framework version 4.1 and 4.2.

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace