public program() { var stack := new system'collections'Stack(); stack.push:2; var isEmpty := stack.Length == 0; var item := stack.peek(); // Peek without Popping. item := stack.pop() }