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