Exemple #1
0
        protected Human(string name, Female mother, Male father)
        {
            if (mother == null || father == null)
            {
                throw new ArgumentNullException();
            }

            Name   = name;
            Mother = mother;
            Father = father;
        }
Exemple #2
0
 public Female(string name, Female mother, Male father) : base(name, mother, father)
 {
 }