+ 1

What is default access modifier of a class in C#, if it's not specified?

In C# we have 6 access modifiers ("public", "private", "internal", "protected", "protected internal", and "private internal". Some time we define(create) a class without declaring acceess modifier for that class. In such cases what is it's default access modifier among 6 C# access modifiers.

22nd Aug 2020, 6:15 AM
AlGebra ft Java
AlGebra ft Java - avatar
1 Answer
0
internal
22nd Aug 2020, 8:31 AM
Flash