LogiQuest
Back to Generics
6

What is the output of the following program?

var stack = new Stack<string>();
stack.Push("a"); stack.Push("b");
Console.WriteLine(stack.Pop() + stack.Count);
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.