public static class ToHashSetExtension<ExtensionAttribute>
Public NotInheritable Class ToHashSetExtension[ExtensionAttribute]
public ref class ToHashSetExtension abstract sealed[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ToHashSetExtension = class end| ToHashSetTSource(IEnumerableTSource) | Returns a HashSetT of the source items using the default equality comparer for the type. | 
| ToHashSetTSource(IEnumerableTSource, IEqualityComparerTSource) | Returns a HashSetT of the source items using the specified equality comparer for the type. |