예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((InNewtons.GetHashCode() * 397) ^ IsZero.GetHashCode());
     }
 }
예제 #2
0
 protected bool Equals(Force other)
 {
     return(InNewtons.Equals(other.InNewtons) && IsZero == other.IsZero);
 }