Ask 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 C# is a parameter brackets single statement namespace scoping mechanism

+1
Answers (1)
  1. 1 May, 00:34
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers