DEV Community

Calin Baenen
Calin Baenen

Posted on

Is there a way to set the visibility of the entire class?

By default, members of classes are private. So, to manually have everything be internal, I need to prefix everything in all other classes to internal.
I tried doing internal class {/* */} to see if that'd fix the issue, but it didn't.
So, is there any way I can set the default visibility of the entire class w/o having to manually do it? The closest thing I found were questions that basically just asked what the modifiers were.

Thanks!
Cheers!

Top comments (0)