System.Collections.Generic.ICollection<T> Members

The members of System.Collections.Generic.ICollection<T> are listed below.

Public Properties

[read-only]
Countint. Gets the number of elements contained in the current instance.
[read-only]
IsReadOnlybool. Indicates whether the current collection is read-only.

Public Methods

Add(T)
Adds an item to the current collection.
Clear()
Removes all items from the current collection.
Contains(T) : bool
Determines whether the current collection contains a specific value.
CopyTo(T[], int)
Copies the elements of the current collection to a Array, starting at the specified index.
Remove(T) : bool
Removes the first occurrence of an item from the current collection.