title: C# determine a Nullable property DateTime type when using reflection
body: <p>I have a question on how to determine an object's Nullable property type.</p>
  
  <p><code>ObjectA</code> has a property <code>DateTime? CreateDate;</code></p>
  
  <p>When I iterate through its properties like the following code, how do I check if a property is a <code>Nullable DateTime</code> type?</p>
  
  <pre><code>foreach (PropertyInfo pi in ObjectA.GetType().GetProperties())
  {
      //do the compare here
  }
  </code></pre>