public Exception AddPet(Pet petToAdd) { if (Pets.Any(p => p.Equals(petToAdd))) { return(new InvalidOperationException("Cannot add a pet that is already loaded against the person.")); } _pets.Add(petToAdd); return(null); }