[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange

AddRange Method

AddRange<TCollection, TItem>(TCollection, IEnumerable<TItem>)

Adds a range of items to the specified collection.

Declaration
public static TCollection AddRange<TCollection, TItem>(this TCollection collection, IEnumerable<TItem> items) where TCollection : ICollection<TItem>
Parameters
Type Name Description
TCollection collection

The collection to add items to.

IEnumerable<TItem> items

The items to add to the collection.

Returns
Type Description
TCollection

A collection with the items added.

Type Parameters
Name Description
TCollection

The type of the collection.

TItem

The type of the items in the collection.