Removes all objects from the CollectionBase instance. This method cannot be overridden.
CollectionBase.Count is set to zero.
This method is an O(n) operation, where n is CollectionBase.Count.
To perform custom actions before or after the collection is cleared, override the protected CollectionBase.OnClear or CollectionBase.OnClearComplete method.