public static void Main()
var snake = new Animal();
snake.Name = "Wild Snake";
myDog.Breed= "Dalmatian";
myDog.DogTagNumber = 48390;
myCat.FavoriteCatToy = "Stuffed Mouse";
myCat.LitterBoxLocation = "Basement";
Console.WriteLine(myDog.Name + " says " + myDog.Sound);
Console.WriteLine(myCat.Name + " says " + myCat.Sound);
public string Name { get; set; }
public bool IsAPet { get; set; }
public int NumberOfLegs { get; set; }
public string Sound { get; set; }
public class Dog : Animal
public string Breed { get; set; }
public int DogTagNumber { get; set; }
public class Cat : Animal
public string LitterBoxLocation { get; set; }
public string FavoriteCatToy { get; set; }