LogiQuest
Back to Generics
3

What is the output of the following program?

var d = new Dictionary<string, int> { ["a"] = 1 };
d["a"] += 4;
Console.WriteLine(d["a"]);
Easy

Discussion (0)

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

Log in to join the discussion.