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. 4
C. 3
D. 2