public virtual void CopyTo(Array array, int arrayIndex) { if (array == null) { throw new ArgumentNullException("array"); } if (arrayIndex < 0) { throw new ArgumentOutOfRangeException("arrayIndex", "NeedNonNegNum"); } if (array.Length - arrayIndex < _hashtable.count) { throw new ArgumentException("ArrayPlusOffTooSmall"); } _hashtable.CopyKeys(array, arrayIndex); }