Members of a class can have different kinds of accessibility.An accessibility keyWord indicates what source code can access the member. The different types of accessibility are:
Accessibility keywords can apply to the following kinds of members of a class: fields, properties, methods, constants, indexers, events, constructors and nested types. They can apply to both instance and static members.
原文地址:#303 - Accessibility of Class Members
新闻热点
疑难解答