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}"); } }