Beispiel #1
0
        public Human(string name, Female mother, Male father) : this(name)
        {
            if (mother == null || father == null)
            {
                throw new ArgumentNullException();
            }

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