다음을 통해 공유


Stack.ToArray Method

Copies the Stack to a new array, in the same order Pop would return the items.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual Object [] ToArray ()

Return Value

A new array that contains copies of the elements of the Stack.

Version Information

Available in the .NET Micro Framework version 4.1 and 4.2.

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace