Exemple #1
0
        public static void Run()
        {
            var user = new User(1, "*****@*****.**", false);

            Console.WriteLine(user);

            var dog  = new Dog();
            var duck = new Duck();

            Console.WriteLine(dog.Describe());
            Console.WriteLine(duck.Describe());

            Console.WriteLine(dog.Move());
            Console.WriteLine(duck.Move());
        }