TStack<T>.GetEnumerator Method

Returns an enumerator that iterates through the collection.

Namespace: Spring.Collections.Stacks
public
 function GetEnumerator: IEnumerator<T>; override;

Return Value

Type: IEnumerator<T>

An IEnumerator<T> that can be used to iterate through the collection.

Implements

IEnumerable.GetEnumerator

Overrides

TEnumerableBase<T>.GetEnumerator