Method AddNoResize
AddNoResize(in T)
Appends an element to the end of this list. Increments the length by 1.
Declaration
public void AddNoResize(in T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The element to append at the end of the list. |
Remarks
If the element exceeds the capacity, throws cref="IndexOutOfRangeException", and the list is unchanged.
Exceptions
Type | Condition |
---|---|
IndexOutOfRangeException | Thrown if the append exceeds the capacity. |