LogiQuest
Back to Delegates and Events
3

What is the output of the following program?

Action<string> greet = n => Console.Write("Hi " + n);
greet += n => Console.Write("!");
greet("Ann");
Medium

Discussion (0)

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

Log in to join the discussion.