AddAsync Method AddAsync(T) Adds an item to the collection. Declaration Task<bool> AddAsync(T item) Parameters T item The item. Returns Task<bool> Whether the item was added.