using System;
enum Days {
one, two, three, four, five, six, seven
}
class Program
{
static void Main() {
Random random = new Random();
Type type = typeof(Days);
Array values = type.GetEnumValues();
int index = random.Next(values.Length);
Days value = (Days)values.GetValue(index);
Console.Write(value);
}
}
/*
run:
five
*/