示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 53124123;
         // 1447 is prime
         hash = (hash * 1447) ^ StartHour.GetHashCode();
         hash = (hash * 1447) ^ Home.GetHashCode();
         hash = (hash * 1447) ^ Origin.GetHashCode();
         hash = (hash * 1447) ^ Destination.GetHashCode();
         return(hash);
     }
 }