public decimal price() { if (petName == "Dog") { return(42M); } return(petStore.getPrice(petName)); }