Stack.GetEnumerator Method

Returns an enumerator that iterates through the Stack.

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

Syntax

public virtual IEnumerator GetEnumerator ()

Return Value

An enumerator for the Stack.

Version Information

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

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace