title: Check if a bool variable is initialized in c#
body: <p>So I have a bool variable like this in model.</p>
  
  <pre><code>bool Foo;
  </code></pre>
  
  <p>I am receiving data from server and de-serialize it model object. So whatever fields are not there in server data gets initialized to defaults. And <code>default(bool)</code> is false. </p>
  
  <p>But value <code>false</code> is also an acceptable value for my variable <code>Foo</code>. So is there some way to check if it gets value <code>false</code> from server or its default. </p>
  
  <p>I also have same issue with other types like int, double etc. which doesn't defaults to null.</p>