Ejemplo n.º 1
0
 public Human(string name, Female mother, Male father)
 {
     Name = name;
     if ((mother is null || father is null))
     {
         throw new ArgumentNullException();
     }
     Mother = mother;
     Father = father;
 }
Ejemplo n.º 2
0
 public Female(string name, Female mother, Male father) : base(name, mother, father)
 {
 }