I have a question on how to determine an object's Nullable property type.
ObjectA with a property DateTime? CreateDate;
when i am iterate through it's properties like the following code, how do I check if a property is a Nullable DateTime type?
thanks
foreach (PropertyInfo pi in ObjectA.GetType().GetProperties())
{
//do the compare here
}
Try: