title: Syntax error when using if-statement to a DateTime? variable
body: <p>I'm getting a syntax error when attempting to compile this code, and I'm not quite sure why. Could anyone help me with fixing this code?</p>
  
  <pre><code>DateTime? ModifiedDate = null;
  
  ModifiedDate = (dbReader["ModifiedDate"] == DBNull.Value ? null : DateTime.Parse(dbReader['ModifiedDate'].ToString()));
  </code></pre>