DEV Community


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

baenencalin profile image Calin Baenen ・1 min read

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.


Discussion (0)

Editor guide