Пример #1
0
        private static void EnumToDictionary()
        {
            Console.Clear();
            Console.WriteLine("\t\t--------------- EnumToDictionary ---------------");

            var dictionary = EnumUtils.EnumToDictionary <EnumDayOfWeek>();

            foreach (var entry in dictionary)
            {
                Console.WriteLine($"\t\t Key:{entry.Key} - value:{entry.Value}");
            }
            Console.ReadKey();
            RecarregarMenu();
        }