ECMA-334 C# Language Specification17.2.3: Access modifiers |
A class-member-declaration
can have any one of the five possible kinds of declared accessibility (10.5.1): public, protected internal, protected, internal, or private. Except for the protected internal combination, it is a compile-time error to specify more than one access modifier. When a class-member-declaration
does not include any access modifiers, private is assumed.