How to Type Cast null as Bool in C#? : <p>I'm having one null-able bool (<code>bool?</code>) variable, it holds a value null. One more variable of type pure <code>bool</code>, I tried to convert the null-able bool to bool. But I faced an error "<strong>Nullable object must have a value.</strong>"</p>

<p>My C# Code is </p>

<pre><code>bool? x = (bool?) null;
bool y = (bool)x;
</code></pre>
