ICollection<T>.AddRange Method

Overloads

AddRange(array of T)

Adds multiple items to the collection.

AddRange(IEnumerable<T>)

Adds multiple items to the collection.

AddRange(array of T)

Adds multiple items to the collection.

Delphi
procedure AddRange(const values: array of T)

Parameters

values
array of T

AddRange(IEnumerable<T>)

Adds multiple items to the collection.

Delphi
procedure AddRange(const values: IEnumerable<T>)

Parameters

values
IEnumerable<T>

Exceptions

values is nil .