LogiQuest
Back to Operators
5

What is the output of the following program?

string s = null;
Console.WriteLine(s?.Length ?? -1);
Medium

Discussion (0)

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

Log in to join the discussion.