std:std.collections.Stack<T>.Get
Gets the value of a stack element.
In debug builds, a runtime error will occur if index
is less than 0, or greater than or equal to the length of the stack.
Parameters | |
---|---|
index |
index The index of the element to get. |