Summary
Adds a range of values to a collection.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Util - Containing Type
- CollectionExtensions
Syntax
public static void AddRange<T>(this ICollection<T> collection, IEnumerable<T> items)
Type Parameters
| Name | Description |
|---|---|
| T | The type of the collection items. |
Parameters
| Name | Type | Description |
|---|---|---|
| collection | ICollection |
The collection to add values to. |
| items | IEnumerable |
The items to add. |
Return Value
| Type | Description |
|---|---|
| void |
