Stack.CopyTo Method
Copies the Stack elements to an existing one-dimensional Array starting at the specified array index.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Syntax
public virtual void CopyTo (
Array array,
int index
)
Parameters
- array
The one-dimensional array to which you want to copy objects from the collection. This array must have zero-based indexing. - index
The zero-based index number at which you want copying to begin in the array.
Version Information
Available in the .NET Micro Framework version 4.1 and 4.2.