Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            Animal tortoise  = new Tortoise("Торчилла", 1, 2);
            Animal tiger     = new Tiger("Apex", 2);
            Animal crocodile = new Crocodile("Геннадий", 5, 50);

            tortoise.Log();
            Console.WriteLine();
            tiger.Log();
            Console.WriteLine();
            crocodile.Log();
            Console.WriteLine();
        }