public:访问不受限制。
public
private:访问仅限于此类。
private
protected:访问仅限于此类或派生自此类的类。
protected
internal:仅可访问当前程序集(.exe 或 .dll)。
internal
.exe
.dll
protected internal:仅可访问此类、从此类中派生的类,或者同一程序集中的类。
protected internal
private protected:仅可访问此类或同一程序集中从此类中派生的类。
private protected