会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tomkluas
博客园
首页
新随笔
联系
订阅
管理
2021年3月1日
子类&父类实例化顺序优先级分析
摘要: 先看个例子: internal class Parent { int x = 1; private readonly int y; public Parent() { // 位置1 this.y = -2; PrintFields(); } public Parent(int y) : this()
阅读全文
posted @ 2021-03-01 18:20 tomkluas
阅读(432)
评论(1)
推荐(1)
公告