Method AddLast
AddLast(T)
Adds a value to the end of the list.
Declaration
public WeakList<T>.Node AddLast(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value |
Returns
| Type | Description |
|---|---|
| WeakList<T>.Node | The node that was added. |
Remarks
This operation takes O(1) time.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| ObjectDisposedException | The list has been disposed. |