Share via


Stack.Pop Method

Removes the object at the top of the Stack, and returns it.

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

Syntax

[MethodImplAttribute(InternalCall)]
public virtual Object Pop ()

Return Value

The object removed from the top of the Stack.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace