TemperatureEquals(Object) Method |
Two Temperature instances can only be equal if they have the
same units and temperature value.
Namespace: DegreeDays.Api.DataAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public override bool Equals(
Object obj
)
Public Overrides Function Equals (
obj As Object
) As Boolean
Parameters
- obj Object
- The object to compare with this instance.
Return Value
Booleantrue if
obj is equal to this instance;
false otherwise.
Remarks
Value comparisons are made after any rounding done by the
constructor. See these remarks for more
on rounding.
A Celsius temperature and a Fahrenheit temperature can never be equal: this
method does not do any conversion between units.
See Also