AddAsync Method
AddAsync(int, T)
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).
Declaration
Task AddAsync(int index, T item)
Parameters
int | index | index at which the specified element is to be inserted |
T | item | element to be inserted |
Returns
Task |