Skip to content

What we can do with ISet<T> ?

mursaleen fayyaz

Asked Jun 5, 2013, 7:17 AM EDT1 answer
Share
LinkedInX
The ISet<T> interface is new with .NET 4 .


Guys, Comment on this interface. Have anyone used this in real projects.



Thanks.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    .NET 4 includes two sets, HashSet<T> and SortedSet<T>, that both implement the interface ISet<T>.

    HastSet<T> contains an unordered list of distinct items; with SortedSet<T> the list is sorted.

    The ISet<T> interface offers methods to create a union of multiple sets, an intersection of sets, or give information if one set is a super or subset of another.
    0