在什么情况下我应该在做:base()和:this() 构造函数调用以下我的构造函数的括号内(甚至在代码的其他地方).这些什么时候称为良好做法,什么时候强制执行?
:base()
:this()
c# oop inheritance constructor instantiation
c# ×1
constructor ×1
inheritance ×1
instantiation ×1
oop ×1