AddRange<T>(ICollection<T>, IEnumerable<T>) Method
Adds a range of values to a collection.
Namespace
Statiq.Common
Containing Type
ICollectionExtensions

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<T> The collection to add values to.
items IEnumerable<T> The items to add.