Exemplo n.º 1
0
        public static void Enum()
        {
            //this example shows how to create array from enum type

            //ArrayExt.Enum<enumType> create array of the enum type
            var days = ArrayExt.Enum <DayOfWeek>();

            //show result
            Console.WriteLine(days.ToString(", "));
        }