NullableTypes Class Library

NullableBoolean Exclusive Or Operator 

Performs a bitwise exclusive-OR operation on the supplied parameters.

[Visual Basic]
<Obsolete(Message="Operator^ is not intuitive, is ambiguous and is not defined by the NULL semantic. Use explicit expression ((x || y) && !(x && y)) instead of operator^.", IsError="False")>
returnValue = NullableBoolean.op_ExclusiveOr(x, y)
[C#]
[Obsolete(Message="Operator^ is not intuitive, is ambiguous and is not defined by the NULL semantic. Use explicit expression ((x || y) && !(x && y)) instead of operator^.", IsError="False")]
public static NullableBoolean operator ^(
   NullableBoolean x,
   NullableBoolean y
);

Parameters

x
A NullableBoolean structure.
y
A NullableBoolean structure.

Return Value

Null if either instance of NullableBoolean is Null otherwise the result of the logical XOR operation.

See Also

NullableBoolean Class | NullableTypes Namespace