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 index) Parameters Type Name Description TKey[] array int index Implements ICollection<T>.CopyTo(T[], int)