Copies the elements in the Set to an array of T. The type of array needs to be compatible with the objects in the Set, obviously.

Namespace: Iesi.Collections.Generic
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
public void CopyTo(
	T[] array,
	int index
)
Visual Basic
Public Sub CopyTo ( _
	array As T(), _
	index As Integer _
)
Visual C++
public:
virtual void CopyTo(
	array<T>^ array, 
	int index
) sealed

Parameters

array
Type: array<T>[]()[][]
An array that will be the target of the copy operation.
index
Type: System..::..Int32
The zero-based index where copying will start.

See Also