views:

99

answers:

1
+4  A: 

I don't know the "why" - and I suspect no-one will - but I just thought I'd mentioned that in .NET 4.0 there will finally be an ISet<T> interface type - implemented by HashSet<T> and SortedSet<T>.

Jon Skeet
What I found interesting, is that the LINQ team decided to implement their own Set collection, rather than use `HashSet`. See the `Distinct` extension method.
Thorarin
@Thorarin: Indeed. My guess is that this is just a lighter-weight implementation - there are various things it doesn't need to implement, because it only needs to worry about one use case.
Jon Skeet