HashSet<T> Properties

The HashSet<T> type exposes the following members.

  Name Description
Public property Comparer Gets the IEqualityComparer<T> object that is used to determine equality for the values in the set.
Public property Count Gets the number of elements that are contained in a set.

  Name Description
Explicit interface implemetation Private property ICollection<T>.IsReadOnly Gets a value indicating whether a collection is read-only.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft