Example #1
0
        static void Main(string[] args)
        {
            Races races = new Races();

            var race1 = races.FirstRace();

            Rules.CalculateRank(race1);
            Rules.CalculatePoints(race1);
            var race2 = races.SecondRace();

            Rules.CalculateRank(race2);
            Rules.CalculatePoints(race2);
            Console.WriteLine();
            PrintRaceTable(race1);
            PrintRaceTable(race2);
            Console.ReadKey();
        }