[]
        
(Showing Draft Content)

C1.Win.Command.C1Stack

C1Stack Class

Simple stack with indexed access, based on System.Collections.ArrayList

Inheritance
C1Stack
Namespace: C1.Win.Command
Assembly: C1.Win.Command.8.dll
Syntax
public class C1Stack : ArrayList, IList, ICollection, IEnumerable, ICloneable

Constructors

Name Description
C1Stack()

Properties

Name Description
IsEmpty

Determines whether the C1Stack is empty. Returns true if the C1Stack ArrayList is empty, false otherwise.

Length

The number of elements actually contained in C1Stack ArrayList.

Top

The last element in C1Stack.

Methods

Name Description
IsIndexInBounds(int)

Determines whether the index of an item is in the bound of indexes of the C1Stack ArrayList.

Peek()

Gets the last element in C1Stack ArrayList.

Pop()

Removes the element at the specified index of the C1Stack ArrayList.

Push(object)

Adds an object to the end of the C1Stack ArrayList.