I\'m wondering whether I can get a consensus on which method is the better approach to creating a distinct set of elements: a C# HashSet or using IEnumera
C# HashSet
IEnumera
The implementation of Distinct may use HashSet. Take a look at Jon Skeet's Edulinq implementation.