Click or drag to resize

HelperExtensions.AddRange<TItem> Method (ICollection<TItem>, IEnumerable<TItem>)

Namespace:  BionicCode.Utilities.Net.Standard.Extensions
Assembly:  BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.4
Syntax
public static IEnumerable<TItem> AddRange<TItem>(
	this ICollection<TItem> thisCollection,
	IEnumerable<TItem> range
)

Parameters

thisCollection
Type: System.Collections.Generic.ICollection<TItem>
The ICollection<T> to modify.
range
Type: System.Collections.Generic.IEnumerable<TItem>
The items to add.

Type Parameters

TItem
The type of the item.

Return Value

Type: IEnumerable<TItem>

[Missing <returns> documentation for "M:BionicCode.Utilities.Net.Standard.Extensions.HelperExtensions.AddRange``1(System.Collections.Generic.ICollection{``0},System.Collections.Generic.IEnumerable{``0})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICollection<TItem>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md