Question: Which of the following statements is true about an enum used in C#.NET?

Options

A : An implicit cast is needed to convert from enum type to an integral type.

B : An enum variable cannot have a public access modifier.

C : An enum variable cannot have a private access modifier.

D : An enum variable can be defined inside a class or a namespace.

Click to view Correct Answer

Previous || Next

Enumerations - General Questions more questions

Which of the following statements are correct about a .NET....

Which of the following statements are correct about JIT?

Which of the following are parts of the .NET Framework?

Which of the following statements are correct about an enum....

Which of the following statements is correct about the C#.NET....

Which of the following is the correct output for the....

Which of the following statements are correct about an enum....

Which of the following will be the correct output for....

An enum that is declared inside a class, struct, namespace....

Which of the following statements is correct about the C#.NET....

Attributes - General Questions more Online Exam Quiz

Collection Classes - General Questions

Constructors - General Questions

Datatypes - General Questions

Delegates - General Questions

.NET Framework - General Questions

Exception Handling - General Questions

Functions and Subroutines - General Questions

Inheritance - General Questions

Interfaces - General Questions