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