如果可以信任类、程序集或派生类,则限制它们的可访问性的范围。
Limit the scope of accessibility to the class, assembly, or derived classes, if they can be trusted.
指定一个或多个已声明的编程元素只能从其自身的类或派生类访问。
Specifies that one or more declared programming elements are accessible only from within their own class or from a derived class.
名字被嵌套的声明区域或派生类(10.2)中相同名字的显式声明所隐藏。
A name can be hidden by an explicit declaration of that same name in a nested declarative region or derived class (10.2).
应用推荐