G
Guest
hey all,
i have a String that i need to DateTime.Parse() and if a FormatException
occurs I need to assign a null to my DateTime variable. The only way i know
to do this is DateTime.MinValue or .MaxValue.
Does this still stand? And are there any caveats doing it this way?
thanks,
rodchar
i have a String that i need to DateTime.Parse() and if a FormatException
occurs I need to assign a null to my DateTime variable. The only way i know
to do this is DateTime.MinValue or .MaxValue.
Does this still stand? And are there any caveats doing it this way?
thanks,
rodchar