Method Resize
Resize(int, bool)
Resize the Dynamic Array. This will reallocate memory if necessary and set the current size of the array to the provided size.
Declaration
public void Resize(int newSize, bool keepContent = false)
Parameters
Type | Name | Description |
---|---|---|
int | newSize | New size for the array. |
bool | keepContent | Set to true if you want the current content of the array to be kept. |