Complete the code to declare an enum named Color.
enum [1] { Red, Green, Blue }The enum name should be Color to match the declaration.
Complete the code to specify the underlying type of the enum as byte.
enum Status : [1] { Active, Inactive, Pending }The underlying type byte is specified after the colon in enum declaration.
Fix the error in the enum declaration by completing the code.
enum Days [1] Monday, Tuesday, Wednesday }Enum members must be enclosed in curly braces { }.
Fill both blanks to declare an enum named Direction with underlying type short.
enum [1] : [2] { North, South, East, West }
The enum name is Direction and the underlying type is short.
Fill all three blanks to declare an enum named Level with underlying type int and members Low, Medium, High.
enum [1] : [2] { [3] }
The enum is named Level, uses int as underlying type, and has members Low, Medium, High.
