Click or drag to resize

ListExtensionsAddRangeT(ICollectionT, IEnumerableT) Method

Adds a range of items to a collection.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void AddRange<T>(
	this ICollection<T> destination,
	IEnumerable<T> itemsToAdd
)

Parameters

destination  ICollectionT
The collection where to add the items.
itemsToAdd  IEnumerableT
The items to add.

Type Parameters

T
Type of item

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICollectionT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also