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