std:std.collections.Stack<T>.Resize
Resizes the stack.
If length
is greater than the current stack length, any extra elements are initialized to null.
If length
is less than the current stack length, the stack is truncated.
Parameters | |
---|---|
length |
length The new length of the stack. |