title: How can I compare a date in C# to "1/1/0001 12:00:00 AM")
body: <p>I am trying the following:</p>
  
  <pre><code>if (e.CreatedDate == "1/1/0001 12:00:00 AM") 
  </code></pre>
  
  <p>But this gives me an error saying I cannot compare a date to a string. How can I make it so I check the CreatedDate is equal to the "1/1/0001 12:00:00 AM" which is I guess the default?</p>