Home / C# Programming / Structures :: Discussion

Discussion :: Structures

  1. Which of the following statements are correct?

    1. A struct can contain properties.
    2. A struct can contain constructors.
    3. A struct can contain protected data members.
    4. A struct cannot contain methods.
    5. A struct cannot contain constants.

  2. A.
    1, 2
    B.
    3, 4
    C.
    1, 2, 4
    D.
    3, 5

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    No answer description available for this question.


Be The First To Comment