NullableTypes Class Library

NullableSingle Inequality Operator 

Compares two instances of NullableSingle for equivalence.

[Visual Basic]
returnValue = NullableSingle.op_Inequality(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 not equivalent or False if the two instances are 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 true; 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