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 (
         Object obj
)

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 and 4.2.

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace