std:std.collections.Stack<T>.Set
Sets 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 set. | 
value  | 
value The value to set. |