MCQs>IT & Programming>C#>What is the output of following program? class Program { public enum Colors : System.Int32 { Red = 0, Green = 1 } private static void Main() { Console.WriteLine(Colors.Green); } }
C# MCQs
What is the output of following program? class Program { public enum Colors : System.Int32 { Red = 0, Green = 1 } private static void Main() { Console.WriteLine(Colors.Green); } }
Answer
Correct Answer: It won't compile
Explanation:
Note: This Question is unanswered, help us to find answer for this one