Replaces all items it an ICollection source by the specified items.
public static void ReplaceAll<T>(this ICollection<T> src, IEnumerable<T> newItems)| parameter | description |
|---|---|
| T | Item type |
| src | Source collection |
| newItems | Items to add |
- class EnumerableExtensions
- namespace Wokhan.Collections.Generic.Extensions