LogiQuest
Back to Inheritance
11

What is the output of the following program?

object o = new Child();
Console.WriteLine(o is Base);
class Base { }
class Child : Base { }
Easy

Discussion (0)

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

Log in to join the discussion.