Vidyalelo
C# Programming · Q124

Classes and Objects in C Sharp

Programming · C# Programming · question 124

Q124

What will be the output of the following C# code? enum letters a, b, c letters l; l = letters.a; Console.writeline(l);

A.
-1
B.
0
C.
a
Answer
D.
letters.a

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board