Exemple #1
0
 public NewStudent(Interest interest)
 {
     //需要带上this
     this.interest = (Interest)interest.Clone();
 }
Exemple #2
0
 public NewStudent(string name)
 {
     name     = name;
     interest = new Interest();
 }