title: How to check if a DateTime field is not null or empty?
body: <p>I am very new in C# and I have a doubt.</p>
  
  <p>In an application on which I am working I found something like it in the code:</p>
  
  <pre><code>if (!String.IsNullOrEmpty(u.nome))
  </code></pre>
  
  <p>This code simply check if the nome field of the u object is not an empty\null string.</p>
  
  <p>Ok this is very clear for me, but what can I do to check it if a field is not a string but is <strong>DateTime</strong> object?</p>