I have very simple code as below
DateTime? assignmentDate = new DateTime?();
if (string.IsNullOrEmpty(objEntity_Leads.Lead_AssignedToTeleCaller))
assignmentDate = null;
else
assignmentDate = DateTime.ParseExact(objEntity_Leads.Lead_AssignedToTeleCaller, "dd/MM/yyyy", CultureInfo.InvariantCulture);
In my case value of objEntity_Leads.Lead_AssignedToTeleCaller
is 27/07/2015
but when I am inspecting these values it gives me above error.
I went through a solution as below
Tools -> Options -> Debugging and unchecked "Enable property eveluation and other function calls" but still getting same error.
What could be the solution?
To turn automatic property evaluation on or off
To disable "Implicit function evaluation is turned off by user", check this setting:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With