Error : cannot implicitly convert type \'bool?\' to \'bool\'. An explicit conversion exists (are you missing a cast?)
Code :
bool is not equal to bool?.
bool
bool?
bool can take two values, true and false.
true
false
bool? can take three, true, false, and null.
null
That is why they are different.