EnumerableExt..::..ToHashSet<(Of <(<'T>)>)> Method

Converts an IEnumerable to a HashSet

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static HashSet<T> ToHashSet<T>(
	IEnumerable<T> enumerable
)

Type Parameters

T
The IEnumerable type

Parameters

enumerable
Type: IEnumerable<(Of <(<'T>)>)>
The IEnumerable

Return Value

A new HashSet