示例#1
0
 public Human(string name, Female mother, Male father)
 {
     if (father == null || mother == null)
     {
         throw new ArgumentNullException();
     }
     Name   = name;
     Father = father;
     Mother = mother;
 }
示例#2
0
 public Female(string name, Female mother, Male father) : base(name, mother, father)
 {
 }