title: How to reset value of DateTime / byte variables?
body: <p>I'm working on a C# project where I declare two class variables:</p>
  
  <pre><code>DateTime creationDate;
  byte exRecNo;
  </code></pre>
  
  <p>The program has a while loop in which those variables get their values assigned.
  I would like to reset their values to null after every iteration through the loop so as not to retain values from the previous trip through the loop.  </p>
  
  <p>However, when I attempt to do this I get the following error messages:</p>
  
  <pre><code>creationDate = null;
  </code></pre>
  
  <p>"Cannot convert null to 'System.DateTime' because it is a non-nullable value type"</p>
  
  <pre><code>exRecNo = null; 
  </code></pre>
  
  <p>"Cannot convert null to 'byte' because it is a non-nullable value type"</p>
  
  <p>Since I can't set them to null is there any way that I can clear their values?</p>