ToAdvisableHashSet<T>(IEnumerable<T>)
Converts an IEnumerable<T> into an AdvisableHashSet<T>.
Declaration
public static AdvisableHashSet<T> ToAdvisableHashSet<T>(this IEnumerable<T> collection)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | collection | An IEnumerable<T>, or |
Returns
Type | Description |
---|---|
AdvisableHashSet<T> | A new AdvisableHashSet<T> containing all elements of |
Type Parameters
Name | Description |
---|---|
T | Type of collection items. |