Esempio n. 1
0
        static void Main(string[] args)
        {
            ConsoleColor color = Console.BackgroundColor;
            AbsFlag      flag  = new Ukrain();

            flag.Draw();
            Console.WriteLine();

            flag = new PolandFlag();
            flag.Draw();

            Console.BackgroundColor = color;
        }
Esempio n. 2
0
        private static void Main(string[] args)
        {
            var flag = new UkraineFlag();

            flag.Draw();

            Console.WriteLine();
            var pFlag = new PolandFlag();

            pFlag.Draw();

            Console.WriteLine();
            var gFlag = new GaitiFlag();

            gFlag.Draw();
            Console.ReadKey();
        }