Which of the following statements are correct about an enum used in C#.NET? 1. An enum can be declared inside a class. 2. An enum can take Single, Double or Decimal values. 3. An enum can be declared outside a class. 4. An enum can be declared inside/outside a namespace. 5. An object can be assigned to an enum variable.

Review the verified answer and explanation for this DemoPaper-Pakistan past-paper question on CampusFin.

Which of the following statements are correct about an enum used in C#.NET? 1. An enum can be declared inside a class. 2. An enum can take Single, Double or Decimal values. 3. An enum can be declared outside a class. 4. An enum can be declared inside/outside a namespace. 5. An object can be assigned to an enum variable. Answer: 1, 3, 4

Question context

This question is part of 🧩 C# Programming within the broader 💻 Programming subject and appears in the DemoPaper-Pakistan preparation collection. Reviewing the answer together with nearby questions helps reinforce the underlying concept and identify how it may appear in competitive exams.