Compares this instance with a specified Object.
[Visual Basic] Overrides Public Function Equals( _ ByVal obj As Object _ ) As Boolean [C#] public override bool Equals( object obj ); [C++] public: override bool Equals( Object* obj ); [JScript] public override function Equals( obj : Object ) : Boolean;
true if the object is a Single and equals the specified Object; otherwise, false.
The Equals method is a way of determining object equality. It only returns true if the object is a Single and has the same value as the current instance. It compares two object references to determine their equality in three things: value, type, and numbers. If the object and this Single instance are:
Note that false will be returned if NaN. Not a number (NaN) should never be used for comparing.
Overrides Equals.