ImmutableList<T>.AddRange Method (IEnumerable<T>)


Adds the elements of the specified collection to the end of the immutable list.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public ImmutableList<T> AddRange(
	IEnumerable<T> items


Type: System.Collections.Generic.IEnumerable<T>

The collection whose elements will be added to the end of the list.

Return Value

Type: System.Collections.Immutable.ImmutableList<T>

A new immutable list with the elements added, or the current list if it already contains the specified elements.

Return to top