Inserts the specified element at the specified position in this list.



Shifts the element currently at that position (if any) and any
subsequent elements to the right (adds one to their indices).

Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is out of range.
|
ArgumentException | elementAt already exists in the list.
|