Question 1  of   20

What is the output of the following code snippet? var stack = new Stack<int>(new[] { 1, 2, 3, 4 }); Console.Write(stack.Pop());

A. 1
B. 3
C. 2
D. 4