Click or drag to resize
HashSetExtensionsAddNewOrOldRangeT Method
Add a range of values to a hashset. It is OK if the values are already of the hashset.

Namespace: Bio.Util
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public static void AddNewOrOldRange<T>(
	this HashSet<T> hashSet,
	IEnumerable<T> sequence
)

Parameters

hashSet
Type: System.Collections.GenericHashSetT
The hashset to add values to
sequence
Type: System.Collections.GenericIEnumerableT
A sequence of values to add to the hashset.

Type Parameters

T
The type of the hashset's elements

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HashSetT. 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