C#中的默认访问修饰符是什么?类、方法、成员、构造函数、委托和接口的默认访问修饰符是什么?
3 回答
绝地无双
TA贡献1946条经验 获得超4个赞
top level class: internal method: private members (unless an interface or enum): private (including nested classes) members (of interface or enum): public constructor: private (note that if no constructor is explicitly defined, a public default constructor will be automatically defined) delegate: internal interface: internal explicitly implemented interface member: public!
- 3 回答
- 0 关注
- 1275 浏览
添加回答
举报
0/150
提交
取消