Home / C# Programming / Enumerations :: Discussion

Discussion :: Enumerations

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

  2. 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.
    E.
    An enum variable cannot have a protected access modifier.

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment