static void Main(string[] args) { Animal fox = new Animal() { name = "Red", sound = "Raaw" }; fox.MakeSound(); Console.WriteLine("# of Animals: {0}", Animal.GetNumAnimals()); }
static void Main(string[] args) { Animal fox = new Animal() { name = "Red", sound = "Raaw" }; fox.MakeSound(); Console.WriteLine("# of Animals: {0}", Animal.GetNumAnimals()); }