Add all specified items to a collection using a simple loop
public static void AddAll<T>(this ICollection<T> src, IEnumerable<T> newItems)| parameter | description |
|---|---|
| T | Items type |
| src | Source collection |
| newItems | Items to add |
- class EnumerableExtensions
- namespace Wokhan.Collections.Generic.Extensions