다음을 통해 공유


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 (
         Arrayarray,
         intindex
)

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.

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace