public virtual void Clear() { int i = keys.Length; while (i != 0) { keys[--i] = null; } keyCount = 0; occupiedCount = 0; }