Table of Contents

Class CollectionExtensions

Namespace
RisingV.Shared.Extensions
Assembly
RisingV.Shared.dll

Provides extension methods for collections.

public static class CollectionExtensions
Inheritance
CollectionExtensions
Inherited Members

Methods

AddRange<T>(ICollection<T>, IEnumerable<T>)

Adds a range of items to a collection.

public static ICollection<T> AddRange<T>(this ICollection<T> collection, IEnumerable<T> items)

Parameters

collection ICollection<T>

The collection to which items will be added.

items IEnumerable<T>

The items to add to the collection.

Returns

ICollection<T>

The updated collection with the new items added.

Type Parameters

T

The type of items in the collection.