Question 1  of   20

What is the output of the following code snippet? var stack = new Stack(); stack.Push("A"); stack.Push("B"); stack.Push("C"); stack.Push("D"); Console.Write(stack.Peek());

A. D
B. DCBA
C. A
D. C