C# Programming - Enumerations - Discussion
Discussion Forum : Enumerations - General Questions (Q.No. 8)
8.
Which of the following statements is correct about the C#.NET code snippet given below?
enum per
{
married,
unmarried,
divorced,
spinster
}
per.married = 10;
Console.WriteLine(per.unmarried);
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers