Пример #1
0
        public static void Main(string[] args)
        {
            Kid    KidObject = new Kid();
            Child  child     = new Child();
            Child2 child2    = new Child2();

            Console.WriteLine(KidObject.PrintMessage());
            Console.WriteLine(child.PrintMessage());
            Console.WriteLine(child2.PrintMessage());
        }