Beispiel #1
0
 void ICollection <KeyValuePair <TKey, TValue> > .CopyTo(KeyValuePair <TKey, TValue>[] array, int arrayIndex)
 {
     _dict1.CopyTo(array, arrayIndex);
 }
Beispiel #2
0
 /// <summary>
 /// Copies the elements of the dictionary to an array, starting at the specified array index.
 /// </summary>
 /// <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
 /// <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
 public void CopyTo(KeyValuePair <TKey, TValue>[] array, int arrayIndex)
 {
     dictionary.CopyTo(array, arrayIndex);
 }