Пример #1
0
        static void Main()
        {
            InterviewRound1 r1 = new InterviewRound1();

            // r1.Result();
            Console.WriteLine("Round 1 score: {0}", r1.Score());

            InterviewRound2 r2 = new InterviewRound2();

            // r2.Result();*/
            Console.WriteLine("Round 2 score: {0}", r2.Score());

            InterviewRound3 r3 = new InterviewRound3();

            r3.Result();

            Console.Read();
        }
Пример #2
0
        static void Main()
        {
            InterviewRound1 r1 = new InterviewRound1();

            Console.WriteLine(r1.Result());
            r1 = new Round2();
            Console.WriteLine(r1.Result());
            r1 = new Round3();
            Console.WriteLine(r1.Result());
            r1 = new Round4();
            Console.WriteLine(r1.Result());


            Round4 r4 = new Round4();

            Console.WriteLine(r4.Result());
            // Console.WriteLine(new Round4().Result());
            Console.Read();
        }