Question: Which of the following statements is correct about the C#.NET code snippet given below?

Options

A : Variables cannot be assigned to enum elements.

B : Variables can be assigned to any one of the enum elements.

C : Variables can be assigned only to the first enum element.

D : Values assigned to enum elements must always be successive values.

Click to view Correct Answer

Exam Quiz App on Google Play

Previous || Next

Enumerations - General Questions more questions

Which of the following security features can .NET applications avail?

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 true about an enum....

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....

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