Beispiel #1
0
    public override bool Equals(object o)
    {
        AdminRoute other = o as AdminRoute;

        if (other == null)
        {
            return(false);
        }
        return(RtAirline.Equals(other.RtAirline) && RtFlightDay.Equals(other.RtFlightDay) && RtFlightNum.Equals(other.RtFlightNum));
    }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(RtAirline.GetHashCode() ^ RtFlightDay.GetHashCode() ^ RtFlightNum.GetHashCode());
 }