Stack.Peek Method
Returns the object at the top of the Stack without removing it.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Syntax
[MethodImplAttribute(InternalCall)]
public virtual Object Peek ()
Return Value
The object at the top of the Stack.
Version Information
Available in the .NET Micro Framework version 4.1 and 4.2.