-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Add Enumerable.ToHashSet #14830
Copy link
Copy link
Closed
dotnet/corefx
#13726Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-System.Linqhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-System.Linqhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Type
Fields
Give feedbackNo fields configured for issues without a type.
We have
Enumerable.To*methods for many common collections.HashSetis sorely missing. This feature should be cheap to implement and not be problematic in any way that I can see.Evidence that this feature is sorely missing: https://www.google.com/webhp?complete=1&hl=en&gws_rd=cr,ssl&ei=#complete=1&hl=en&q=.net+tohashset People are writing this method over and over again.