static void Main(string[] args) { Dog dog = new Dog(); Paw paw = dog.GetPaw(); paw.Clean(); Console.WriteLine(paw.IsClean()); }
static void Main(string[] args) { Dog dog = new Dog("DogName", 2); Paw paw = dog.GetPaw(); Console.WriteLine(paw.IsClean()); Paw newPaw = dog.GetNewPaw(); newPaw.Clean(); Console.WriteLine(newPaw.IsClean()); }