15
What is the output of the following program?
object o = "hi";
if (o is string s) Console.WriteLine(s.Length);Medium
What is the output of the following program?
object o = "hi";
if (o is string s) Console.WriteLine(s.Length);Log in to join the discussion.