Defines size, enumerators, and synchronization methods for all nongeneric collections.
Gets the number of elements contained in the System.Collections.ICollection.
The number of elements contained in the System.Collections.ICollection.
Casts this object to the specified type. Throws error on failure.
The target type of the cast.
The type of the object to cast.
The type to cast to.
Casts this object to the specified type. Returns null on failure.
Defines size, enumerators, and synchronization methods for all nongeneric collections.