SetT Methods |
The SetT generic type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an item to the Set.
| |
AddRange |
Adds every element in the enumerable to the Set.
| |
Any |
Returns an arbitary item from the set.
| |
Clear |
Removes all items from the Set.
| |
Contains |
Determines whether the Set contains a specific value.
| |
CopyTo |
Copies the elements of the Set to an array, starting at a particular array index.
| |
Equals(Object) |
Determines whether the specified object is equal to this Set.
(Overrides ObjectEquals(Object).) | |
Equals(SetT) |
Determines whether the given Set is equal to this Set.
| |
GetEnumerator |
Returns an enumerator that iterates through the Set.
| |
GetHashCode |
Generates a hash code for the given Set.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasSubset |
Checks whether the other Set has all elements in common with this Set (i.e. 'other' is a subset of this Set).
| |
Intersects(IEnumerableT) |
Checks whether the enumerable has any elements in common with this Set.
| |
Intersects(SetT) |
Checks whether the other Set has any elements in common with this Set.
| |
Remove |
Removes the first occurrence of a specific object from the Set.
| |
ToArray |
Creates an array containing every element of this Set.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |