<AptiCode/>

The ultimate platform for developers to practice, compete, and grow. Join our community of passionate coders today.

TwitterLinkedIn

Platform

ProblemsCompilerAptitude TestsContests

Company

About UsContactRewardsContribute

Legal

Terms of ServicePrivacy PolicyShipping PolicyRefund Policy

© 2025 AptiCode. All rights reserved.

Made withfor developers

topic/Enumerations

Question NoTitleTypeMarks
673.Which of the following statements are correct about anenumused inC#.NET?By default the first enumerator has the value equal to the number of elements present in the list.The value of each successive enumerator is decreased by 1.An enumerator contains white space in its name.A variable cannot be assigned to anenumelement.Values ofenumelements cannot be populated from a database.
MCQ
5
674.Which of the following statements is correct about the C#.NET code snippet given below?int a = 10; int b = 20; int c = 30; enum color: byte { red = a, green = b, blue = c }
MCQ
5
675.Which of the following statements is true about anenumused in C#.NET?
MCQ
5
676.Which of the following is the correct output for the C#.NET code snippet given below?enum color { red, green, blue } color c; c = color.red; Console.WriteLine(c);
MCQ
5
677.Which of the following statements are correct about anenumused inC#.NET?To use the keywordenum, we should either use [enum] orSystem.Enum.enumis a keyword.Enum is class declared inSystem.Typenamespace.Enum is a class declared in the current project's root namespace.Enum is a class declared inSystemnamespace.
MCQ
5