Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
Output : enum color {red,green,blue} color c = color.red; Type t; t = c.GetType(); string[ ]str; str = Enum.GetNames(t); Console.WriteLine(str[ 0 ]); | |
A. | 0 [Wrong Answer] |
B. | 1 [Wrong Answer] |
C. | red [Correct Answer] |
D. | color.red [Wrong Answer] |