[]
Simple stack with indexed access, based on System.Collections.ArrayList
public class C1Stack : ArrayList, IList, ICollection, IEnumerable, ICloneable
| Name | Description |
|---|---|
| C1Stack() |
| 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. |
| 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. |