public void CopyTo(KeyValuePair <K, V>[] array, int arrayIndex) { if (_count > array.Length - arrayIndex) { throw new ArgumentException(Localize.From("CopyTo: Insufficient space in supplied array")); } _set.CopyTo(array, arrayIndex); }
public void CopyTo(T[] array, int arrayIndex) { if (_count > array.Length - arrayIndex) { CheckParam.ThrowBadArgument("CopyTo: Insufficient space in supplied array"); } _set.CopyTo(array, arrayIndex); }