ProGet SDK Reference
Version:

ToHashSet<TSource>(System.Collections.Generic.IEnumerable<TSource> source, System.Collections.Generic.IEqualityComparer<TSource> comparer) Method

Syntax

public static HashSet<TSource> ToHashSet<TSource>(IEnumerable<TSource> source, IEqualityComparer<TSource> comparer)

Parameters

source
Type: System.Collections.Generic.IEnumerable<TSource>
comparer
Type: System.Collections.Generic.IEqualityComparer<TSource>