상속: ITechnologiesProvider
예제 #1
0
        public static void Main()
        {
            Console.OutputEncoding = Encoding.UTF8;

            ITechnologiesProvider      technologiesProvider      = new CommonTechnologiesProvider();
            ITechnologiesCountProvider technologiesCountProvider = new JobsBgTechnologiesCountProvider();
            var technologiesList = technologiesCountProvider.GetCount(technologiesProvider.GetTechnologies());

            Console.WriteLine();
            Console.WriteLine("Technology,Count");
            foreach (var item in technologiesList.OrderByDescending(x => x.Value))
            {
                Console.WriteLine($"{item.Key},{item.Value}");
            }
        }
예제 #2
0
        public static void Main()
        {
            Console.OutputEncoding = Encoding.UTF8;

            ITechnologiesProvider technologiesProvider = new CommonTechnologiesProvider();
            ITechnologiesCountProvider technologiesCountProvider = new JobsBgTechnologiesCountProvider();
            var technologiesList = technologiesCountProvider.GetCount(technologiesProvider.GetTechnologies());

            Console.WriteLine();
            Console.WriteLine("Technology,Count");
            foreach (var item in technologiesList.OrderByDescending(x => x.Value))
            {
                Console.WriteLine($"{item.Key},{item.Value}");
            }
        }