C Sharp (C#) - Classes and Objects
What will be the output of the following code?
class Dog {
public string Name = "Buddy";
}
class Program {
static void Main() {
Dog d = new Dog();
System.Console.WriteLine(d.Name);
}
}