NullableTypes Class Library

NullableSingle.Equals Method (NullableSingle, NullableSingle)

Compares two NullableSingle structures to determine if they are equivalent.

[Visual Basic]
Overloads Public Shared Function Equals( _
   ByVal x As NullableSingle, _
   ByVal y As NullableSingle _
) As NullableBoolean
[C#]
public static NullableBoolean Equals(
   NullableSingle x,
   NullableSingle y
);

Parameters

x
A NullableSingle structure.
y
A NullableSingle structure.

Return Value

A NullableBoolean that is True if the two instances are equivalent or False if the two instances are not equivalent. If either instance of NullableSingle is Null, the Value of the NullableBoolean will be Null.

Remarks

This behavior follow CLR specifications while op_Equality follows different IEEE 754 specifications.

See Also

NullableSingle Class | NullableTypes Namespace | NullableSingle.Equals Overload List