NullableTypes Class Library

NullableSingle Equality Operator 

Compares two instances of NullableSingle for equivalence.

[Visual Basic]
returnValue = NullableSingle.op_Equality(x, y)
public static NullableBoolean operator ==(
   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 operator follows IEEE 754 specifications: if either operand is NaN the result is false; negative and positive zero are considered equal; a NegativeInfinity is considered equal to another NegativeInfinity; a PositiveInfinity is considered equal to another PositiveInfinity.

See Also

NullableSingle Class | NullableTypes Namespace