public void CopyTo (FieldInfo[] array, int arrayIndex);
public void CopyTo (Array array, int arrayIndex);

Parameters

arrayThe one-dimensional destination array that the elements from FieldInfoCollection are copied to.
arrayIndexThe zero-based index where elements are copied to in the destination array.

Description

Copies the collection to an array.

The destination array should contain enough space to fit the collection. The destination array must be of type FieldInfo[].