Multiple choice technology programming languages

What is default access modifier for top level class , which are not nested in other classes

  1. Public

  2. Private

  3. Protected

  4. Internal

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Top-level (non-nested) classes in C# default to internal access. They are accessible only within the same assembly unless explicitly declared public. They cannot be private or protected at the top level - these modifiers only apply to nested class members.