AddRange<T>(ICollection<T>, 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, params 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 T[] The items to add.