I read the C# Language Specification on the Conditional logical operators || and &&, also known as the short-circuiting logical operat
||
&&
The Nullable type does not define Conditional logical operators || and &&. I suggest you following code:
bool a = true; bool? b = null; bool? xxxxOR = (b.HasValue == true) ? (b.Value || a) : a; bool? xxxxAND = (b.HasValue == true) ? (b.Value && a) : false;