Home » C# Programming » Enumerations

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);

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!