static void Main(string[] args) { GermanShepherd shepherd = new GermanShepherd(); Corgi corgi = new Corgi(); Dog corgi1 = new Corgi(); Puppy puppy = new Puppy(); Console.WriteLine("Germanshepherd-Szczekanie:" + shepherd.Bark() + " Warczenie:" + shepherd.Growl()); Console.WriteLine("Typ Corgi:" + corgi.Bark()); Console.WriteLine("Inny typ:" + corgi1.Bark()); Console.WriteLine("Szczeniak:" + "Warczenie:" + puppy.Growl() + " Szczekanie:" + puppy.Bark()); Console.ReadKey(); }