Method Insert
Insert(int, object?)
Inserts an item to the IList<T> at the specified index.
public void Insert(int index, object? value)
Parameters
Exceptions
- ArgumentOutOfRangeException
indexis not a valid index in the IList<T>.- NotSupportedException
The IList<T> is read-only.