[]
Inserts the specified items
at the specified startingIndex
in the collection.
public Task<int> InsertRangeAsync(int startingIndex, IEnumerable<T> items, CancellationToken cancellationToken = default)
Type | Name | Description |
---|---|---|
int | startingIndex | The index where the item will be inserted. |
IEnumerable<T> | items | The items to be inserted. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
Task<int> |