Beispiel #1
0
 public bool Equals(Energy other)
 {
     return(Value == other.Value && !(Unit is null) && Unit.Equals(other.Unit));
 }
Beispiel #2
0
 public int CompareTo(Energy other)
 {
     return(UnitedValuesUtils.Compare <Energy, EnergyUnit>(this, other));
 }