New to Telerik UI for BlazorStart a free 30-day trial

Extensions methods for working with collections

Definition

Namespace:Telerik.DataSource.Extensions

Assembly:Telerik.DataSource.dll

Syntax:

C#
public static class CollectionExtensions

Inheritance: objectCollectionExtensions

Methods

Adds an enumerable collection to another collection.

C#
public static void AddRange<T>(this ICollection<T> instance, IEnumerable<T> collection)
Parameters:instanceICollection<T>

the collection to add items to

collectionIEnumerable<T>

the collection that will be added to the original collection