Method AddRange
AddRange<T>(ICollection<T>, params T[])
Adds a range of values to a collection
public static void AddRange<T>(this ICollection<T> self, params T[] range)
Parameters
selfICollection<T>Collection to Add values to
rangeT[]values to add
Type Parameters
TType of elements in the collection