嵌套类型的可访问域决不能超出包含类型的可访问域。
The accessibility domain of a nested type never exceeds that of the containing type.
该域是由已声明的成员可访问性和直接包含类型的可访问域这二者共同确定的。
Which is determined by both the declared accessibility of the member and the accessibility domain of the immediately containing type.
如果成员嵌套在其他类型中,其可访问域由该成员的可访问性级别和直接包含类型的可访问域共同确定。
If the member is nested within another type, its accessibility domain is determined by both the accessibility level of the member and the accessibility domain of the immediately containing type.
应用推荐