log4net SDK Reference |

# EmptyCollection.CopyTo Method

Copies the elements of the ICollection to an Array, starting at a particular Array index.

[Visual Basic]
NotOverridable Public Sub CopyTo( _
ByVal array As Array, _
ByVal index As Integer _
) _
Implements ICollection.CopyTo
[C#]
public void CopyTo(
Array array,
int index
);

#### Parameters

array
  The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
index
  The zero-based index in array at which copying begins.

#### Implements

ICollection.CopyTo

#### Remarks

As the collection is empty no values are copied into the array.

#### See Also

EmptyCollection Class | log4net.Util Namespace