Adds the sequence of items to the collection.
public static void AddRange<T>(this ICollection<T> collection, IEnumerable<T> items)
parameter | description |
---|---|
T | The type of item in the collection. |
collection | The collection. |
items | The sequence of items to add to the collection. |