Class access modifiers — RexDac Academy

RexDac AcademyTechnical notes · Some prior knowledge helps
0%Published notes read · this device

Level 4 — Classes

Class access modifiers

Original notes by SunDiaL · View English source

Class access modifiers are keywords that allow you to control who has access to those classes. They are:

  • public -> they can be accessed from anywhere
  • internal -> they can be accessed only from the containing project
  • file -> they can be accessed only from the containing file
public class ExampleClass
{

}