Method CopyTo CopyTo(TKey[], int) Copies all the keys in the dictionary to an array starting at the specified array index. Declaration public void CopyTo(TKey[] array, int arrayIndex) Parameters Type Name Description TKey[] array int arrayIndex Implements ICollection<T>.CopyTo(T[], int)