Visibility and Accessibility Modifiers

Internal Access Modifier

The internal modifier has the same access semantics as the public keyword with the exception of restricting access to code in your own program assembly. This means that you can create code that can only be accessed from your own code.

// Only accessible from the same assembly.
internal class Program
{

}

 

Page 8 of 18