Discussion :: Enumerations
-
Which of the following is the correct output for the C#.NET code snippet given below?
enum color: int { red, green, blue = 5, cyan, magenta = 10, yellow } Console.Write( (int) color.green + ", " ); Console.Write( (int) color.yellow );
Answer : Option B
Explanation :
No answer description available for this question.
Be The First To Comment