D
DoB
Hi,
As far, as I know, this is not a good code:
------------------------------------------
double d = 0;
try
{
d = double.Parse(str);
}
catch { }
------------------------------------------
What is the recommended substitution? Using TryParse?
Regards,
DoB
As far, as I know, this is not a good code:
------------------------------------------
double d = 0;
try
{
d = double.Parse(str);
}
catch { }
------------------------------------------
What is the recommended substitution? Using TryParse?
Regards,
DoB