How to Indicate a Nullable Value's Original Data Type in C# -
is there bool.null indicate boolean type's null value in c#?
thanks
boolean value-type. cannot equal null @ case.
however, if nullable boolean, can directly compare null:
bool? b = getbooleanfromsomewhere(); if (b == null) // null p.s. there no "boolean type's null value".
classes not have "own null values". there null.
Comments
Post a Comment