Name | Description | |
---|---|---|
Add | Adds the specified item | |
BubbleSort | Overloaded. Sorts the entire list by using a default comparer and the bubble sort algorithm. | |
Clear | Removes all items | |
Contains | Queries whether the specified item is contained in this set. | |
CopyTo | Copies all items of this set to the specified array, starting from the specified array index. | |
GetIterator | Gets an iterator that iterates through the items in forward order. | |
GetReverseIterator | Gets an iterator that iterates through the items in a reverse order. | |
IndexOf | Overloaded. Gets the index at which the item appears in the set for the first time. Returns -1 if the item does not appear in the set. | |
Insert | Inserts the item at the specified index | |
LastIndexOf | Overloaded. Gets the index at which the item appears in the set for the last time. Returns -1 if the item does not appear in the set. | |
Remove | Overloaded. Removes the specified item | |
RemoveAll | Removes all occurrence of the specified item. | |
RemoveAt | Removes the item at the specified index | |
RemoveLast | Overloaded. Removes the last occurrence of the specified item (if any) | |
Sort | Overloaded. Sorts the entire list by using a default comparer and the quick sort algorithm. | |
ToArray | Creates an array and populates it with the items of this set. |