Replaces the element at the specified position in this list with
the specified element.
Returns the element that was previously at index.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is out of range.
|