Beispiel #1
0
 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);
 }
Beispiel #2
0
 public void CopyTo(T[] array, int arrayIndex)
 {
     if (_count > array.Length - arrayIndex)
     {
         CheckParam.ThrowBadArgument("CopyTo: Insufficient space in supplied array");
     }
     _set.CopyTo(array, arrayIndex);
 }