Ask Question
1 July, 18:25

Which access modifier is not allowed in a struct? Private Public Protected Internal All of the Above None of the Above A block { ... } in C# is a parameter brackets single statement namespace scoping mechanism

+4
Answers (1)
  1. 1 July, 20:07
    0
    Protected.

    Explanation:

    Structures and classes that are declared within the namespace directly can be internal or public by default they are internal. Struct members can be declared internal, public or private. Since structures does not support inheritance so they does not support protected access modifier. Hence we conclude that the answer is Protected.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which access modifier is not allowed in a struct? Private Public Protected Internal All of the Above None of the Above A block { ... } in ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers