Summary
Adds all elements from the source into target.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
- Containing Type
- CollectionExtensions
Syntax
public static void AddRange<T>(this Collection<T> target, IEnumerable<T> source)
Type Parameters
| Name | Description |
|---|---|
| T | The type of elements to add. |
Parameters
| Name | Type | Description |
|---|---|---|
| target | Collection |
The collection to add the elements to. |
| source | IEnumerable |
The collection to add elements from. |
Return Value
| Type | Description |
|---|---|
| void |