Access modifiers are keywords used to specify the declared accessibility of a member or a type.
存取修饰词是用于指定成员或型别之宣告存取范围的关键字。
Which is determined by both the declared accessibility of the member and the accessibility domain of the immediately containing type.
该域是由已声明的成员可访问性和直接包含类型的可访问域这二者共同确定的。
An interface can be declared with any accessibility, but interface members must all have public accessibility.
接口可以用任何可访问性来声明,但接口成员必须全都具有公共可访问性。
应用推荐