示例#1
0
        static void Main(string[] args)
        {
            var manufactureService = new ManufacturerService();
            var mostExpensiveCar   = manufactureService.GetMostExpensiveCar();

            foreach (var x in mostExpensiveCar)
            {
                Console.WriteLine($"{x.Manufacturer.Name} , {x.MostExpensiveCar.Model}");
            }


            Console.ReadKey();
        }