Implements a stack of Variant values.
Description
The CalculationStack class allows you to implement a stack of Variant values.
Properties
Length
Length
public
int Length { get; }
- returns: int - length
Instance methods
Pop
Removes and returns the last value from the list.
public
Variant Pop()
- returns: Variant - last value from the list.
PeekAt
Peeks a Variant value located at a specified index.
public
Variant PeekAt(int index)
- index: int - specified index.
- returns: Variant - Variant value.
Peek
Peeks a Variant value.
public
Variant Peek()
- returns: Variant - Variant value.