Ask Question
13 February, 04:54

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

+1
Answers (1)
  1. 13 February, 06:11
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers