c# 中的 protected internal 如何在 vc.net 中实现
c# 中有 protected internal 的复合访问属性,
保证assembly内部访问,以及外部的派生类访问
vc.net 中无法直接写上 protected internal, 其对应的写法为:
public protected:
在c#中观察编译后的vc.net的类将看到 public protected 被c#认为一个protected internal
c# 中有 protected internal 的复合访问属性,
保证assembly内部访问,以及外部的派生类访问
vc.net 中无法直接写上 protected internal, 其对应的写法为:
public protected:
在c#中观察编译后的vc.net的类将看到 public protected 被c#认为一个protected internal