Method MoveTo
MoveTo(T, int)
Moves the given item in this list. If the given item is not in this list, this can be used to insert the item at the specified index.
Declaration
void MoveTo(T item, int newIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| T | item | The item to move or add. |
| int | newIndex | New index of the item. |