SyntaxFix
Write A Post
Hire A Developer
Questions
Call Enum.GetValues; this returns an array that represents all possible values for your enum. Pick a random item from this array. Cast that item back to the original enum type.
Enum.GetValues