static void Main(string[] args) { DogOwner person1 = new DogOwner("Olivia", "rudan", "93838"); Console.WriteLine(Dog.GetDogs()); Console.ReadLine(); }
public Dog(string name, string colour, DogOwner owner) { this.Name = name; this.Colour = colour; this.Owner = owner; nrOfDogs++; }