0

what 'internal' keyword will do?

11th Oct 2016, 9:05 AM
Fl0
Fl0 - avatar
2 Answers
+ 2
Internal types or members are accessible only within files in the same assembly.
12th Oct 2016, 8:26 PM
Ivan G
Ivan G - avatar
+ 1
Internal is one of the 5 "Access Modifiers" and "Internal" access is restricted to the code in the same assembly. Access modifiers are not allowed in namespace declarations; public access is implied for namespaces. The top-level classes (declared directly under a namespace) can be only public or internal. The internal access modifier is the default for a class if no access modifier is specified. One should use the most restrictive access level that makes sense for a type member.
7th Nov 2016, 6:17 AM
Gena Beamon
Gena Beamon - avatar