コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Altitude.GetHashCode();
         hashCode = (hashCode * 397) ^ Barometer.GetHashCode();
         hashCode = (hashCode * 397) ^ Temperature.GetHashCode();
         hashCode = (hashCode * 397) ^ RelativeHumidity.GetHashCode();
         return(hashCode);
     }
 }