Beginner C#
Q21 / 100

What is an enum in C#?

Correct! Well done.

Incorrect.

The correct answer is B) A value type consisting of a set of named integer constants

B

Correct Answer

A value type consisting of a set of named integer constants

Explanation

enum Day { Mon, Tue, Wed } creates named constants. By default, values are ints starting at 0.

Progress
21/100