Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to detect a null bool C#

bool? nullableBool = true;
if (nullableBool == true) { ... } // true
else { ... } // false or null
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #detect #null #bool
ADD COMMENT
Topic
Name
7+2 =