Home »
MCQs »
C# MCQs
The internal access modifier is used for ___
78. The internal access modifier is used for ___.
- Types and type members
- Defining a field that can be accessed in all classes
- Defining a field that can be accessed in inherited classes
- All of the above
Answer: A) Types and type members
Explanation:
In C#, the internal access modifier is used for types and type members. The internal types or members (those are defined by the using of internal keyword/ access modifier) are accessible only within files in the same assembly.