Method Remove
Remove(T)
Removes the first occurrence of a specific object from the DynamicArray.
Declaration
public bool Remove(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The object to remove from the DynamicArray. The value can be null for reference types. |
Returns
Type | Description |
---|---|
bool | true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the DynamicArray. |