LogiQuest
Back to Generics
8

What is the output of the following program?

var set = new HashSet<int> { 1, 2, 2, 3 };
Console.WriteLine(set.Count);
Easy

Discussion (0)

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

Log in to join the discussion.