| Parameter | Description |
|---|---|
| value> | The new length. If the new length is greater than the current capacity, the capacity is increased. Newly allocated memory is cleared. |
The count of elements.
To decrease the memory used by a list, set NativeList<T0>.Capacity after reducing the length of the list.