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