[]
Adds a range of items to the specified collection.
public static TCollection AddRange<TCollection, TItem>(this TCollection collection, IEnumerable<TItem> items) where TCollection : ICollection<TItem>
Type | Name | Description |
---|---|---|
TCollection | collection | The collection to add items to. |
IEnumerable<TItem> | items | The items to add to the collection. |
Type | Description |
---|---|
TCollection | A collection with the items added. |
Name | Description |
---|---|
TCollection | The type of the collection. |
TItem | The type of the items in the collection. |