Home » C# Programming » Enumerations

Which of the following is the correct output for the C#.NET code snippet given below? enum color { red, green, blue } color c; c = color.red; Console.WriteLine(c);

Correct Answer: red

← Previous Question Next Question→

More Questions from Enumerations

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion