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

Parameters

arrayThe one-dimensional destination Array to which elements are copied from MethodCollection.
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 MethodInfo[].