DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+6 =
Submit