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

For top-level classes in C# that are not nested, the default access modifier is 'internal', meaning they are accessible only within the current assembly. Other default access modifiers exist for nested classes and members.