private Resume(WorkExperience work) { //提供Clone方法调用自己的私有构造函数,以便克隆“工作经历”的数据 this.work = (WorkExperience)work.Clone(); }
public Resume(string name) { this.name = name; work = new WorkExperience(); }