New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Extension methods for ICollection.

Definition

Namespace:Kendo.Mvc.Extensions

Assembly:Kendo.Mvc.dll

Syntax:

C#
public static class CollectionExtensions

Inheritance: objectCollectionExtensions

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Methods

Adds the elements of the specified collection to the end of the ICollection.

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 whose elements should be added.