Summary
Extension methods to use stack like methods for
IList<T>
.
- Namespace
- StrideToolkit
.Collections - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ListStackExtensions"]
class Type type-node
Syntax
public static class ListStackExtensions
Methods
Name | Value | Summary |
---|---|---|
Peek |
T |
Gets the last item in the
IList<T> .
static
|
Pop |
T |
Removes and returns the object at the end of the
IList<T> .
static
|
PopFront |
T |
Removes and returns the object at the start of the
IList<T> .
static
|
Push |
void |
Adds an object to the end of the
IList<T> .
static
|