Example #1
0
 public MatingEvent(Frog male, Frog female, DateTime date)
 {
     Male   = male ?? throw new ArgumentNullException(nameof(male));
     Female = female ?? throw new ArgumentNullException(nameof(female));
     Date   = date;
 }
Example #2
0
 public PairSelection(Frog male, Frog female, DateTime date)
 {
     Male   = male;
     Female = female;
     Date   = date;
 }