C# determine a Nullable property DateTime type when using reflection
pi.PropertyType == typeof(DateTime?)
pi.PropertyType == typeof(Nullable<DateTime>);
pi.PropertyType == typeof(DateTime?)
pi.PropertyType == typeof(Nullable<DateTime>);