7
What is the output of the following program?
var d = new Dog();
Console.WriteLine(d.Legs + " " + d.Sound());
class Animal { public int Legs = 4; }
class Dog : Animal { public string Sound() => "woof"; }Easy