A class-member-declaration can have any one of the five possible types of declared accessibility (§3.3.1): public
, protected
internal
, protected
, internal
, or private
. Except for the protected
internal
combination, it is an error to specify more than one access modifier. When a class-member-declaration does not include any access modifiers, the declaration defaults to private
declared accessibility.