Equals
Overrides Object
This method determines whether or not an object is an instance of OracleDecimal, and whether or not the value of the object is equal to the current instance.
Declaration
// C#
public override bool Equals(object obj);Parameters
-
objAn
OracleDecimalinstance.
Return Value
Returns true if obj is an instance of OracleDecimal, and the value of obj is equal to the current instance; otherwise, returns false.
Remarks
The following rules apply to the behavior of this method.
-
Any
OracleDecimalthat has a value compares greater than anOracleDecimalthat has a null value. -
Two
OracleDecimals that contain a null value are equal.