RosettaCodeData/Task/Stack/PowerShell/stack-1.psh

4 lines
100 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
$stack = New-Object -TypeName System.Collections.Stack
# or
$stack = [System.Collections.Stack] @()