Mono Class Library: System.Double Overview | Members

System.Double.Equals Method

Determines whether the current instance and the specified double represent the same value.

public bool Equals (double obj)

Parameters

obj
Documentation for this section has not yet been entered.

Returns

true if obj has the same value as the current instance, otherwise false. If either obj or the current instance is a NaN and the other is not, returns false. If obj and the current instance are both NaN, positive infinity, or negative infinity, returns true.

Remarks

Note: This method is implemented to support the IEquatable<Double> interface.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0