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