c# 中有 protected internal 的复合访问属性,
protected internal
保证assembly内部访问,以及外部的派生类访问
vc.net 中无法直接写上 protected internal, 其对应的写法为:
public protected:
在c#中观察编译后的vc.net的类将看到 public protected 被c#认为一个protected internal
public protected
posted on 2015-08-13 10:25 norsd 阅读(131) 评论(0) 编辑 收藏 举报