Which Exception will be thrown If TryParse fails?

 Posted by deccansoft on 7/29/2010 | Category: C# Interview questions | Views: 1487

It will throws FormatException if it fails.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Samirg on: 4/6/2013
TryParse will not throw exception if conversion fails. This is main difference between Parse and TryParse. It will only return false. Th given ans is wrong

Login to post response