class · System
Stack<T>
public class System.Stack<T> : System.Any
Last in, first out: Push and Pop at the top.
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public
- Source file
List.ant
Type parameters
| Name | Constraints |
|---|---|
T | any type |
Inheritance
- Base classes
-
AnyStack<T>
Constructors
constructor Stack()
#
Properties
Methods
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
Stack<T> as Larva HIR, decompiled from its Larva HIR.
// Last in, first out: Push and Pop at the top.
public class System.Stack<T> : System.Any
{
field items: T[]
field count: i32
method Grow() -> void
constructor Stack()
method Push(item: T) -> void
method Pop() -> T
method Peek() -> T
method Clear() -> void
property Count: i32
property IsEmpty: bool
}