Why can I compare nullable boolean values in C# like this:
bool? test = true;
if (test==true)
//do somethign
but not like this:
bool? test = true;
if (test)
//do somethign
Why can I compare nullable boolean values in C# like this:
bool? test = true;
if (test==true)
//do somethign
but not like this:
bool? test = true;
if (test)
//do somethign