public int CompareTo(object obj) { if (obj == null) { throw new ArgumentNullException(nameof(obj)); } return(Airport.CompareTo(((VisitedAirport)obj).Airport)); }