title: cannot implicitly convert type System.DateTime? to System.DateTime
body: <p>When I do the following I get:</p>
  
  <pre><code>    inv.RSV = pid.RSVDate
  </code></pre>
  
  <p>I get the following: cannot implicitly convert type System.DateTime? to System.DateTime.</p>
  
  <p>In this case, inv.RSV is DateTime and pid.RSVDate is DateTime?</p>
  
  <p>I tried the following but was not successful:</p>
  
  <pre><code> if (pid.RSVDate != null)
   {                
  
      inv.RSV = pid.RSVDate != null ? pid.RSVDate : (DateTime?)null;
   }
  </code></pre>
  
  <p>If pid.RSVDate is null, I like to not assign inv.RSV anything in which case it will be null. </p>