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
public static NullableBoolean Equals(
   NullableSingle x,
   NullableSingle y


A NullableSingle structure.
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.


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

See Also

NullableSingle Class | NullableTypes Namespace | NullableSingle.Equals Overload List