C Sharp (C#) - Classes and Objects
What will be the output of this code?
class Animal {
public string Name = "Cat";
}
class Program {
static void Main() {
Animal a = new Animal();
Console.WriteLine(a.Name);
}
}