Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: HashSet<T> ToHashSet<T>(this IEnumerable<T>, IEqualityComparer<T>)

Declaration

public static HashSet<T> ToHashSet<T>(
    this IEnumerable<T> source,
    IEqualityComparer<T> comparer = null
)

Summary

Creates a HashSet<T> from an enumerable collection.

Generic type parameters

TThis type parameter is not documented.