Share via


Stack.Push Method

Inserts an object at the top of the Stack.

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

Syntax

[MethodImplAttribute(InternalCall)]
public virtual void Push (
         Objectobj
)

Parameters

  • obj
    The Object to push onto the Stack. This value can be null.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace