Method AddNoResize
AddNoResize(T)
Adds an element to the end of the list.
Declaration
public void AddNoResize(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value to add to the end of the list. |
Remarks
Increments the length by 1. Never increases the capacity.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if incrementing the length would exceed the capacity. |