Clear method

void Clear()
Clears the collection.

Implementation

void Clear() {
  // mark the whole collection for deletion
  this.InternalClear();
  this.collectionIsCleared = true;
}