while Debugging the console hangs up in the middle of the program & shows an unexpected Exception in it
Please Find me a Solution for this problem
I am Unable to perform Temperature Conversion in C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Feb 16, 2012, 6:10 AM EST
The easiest way to prevent that is to use double.TryParse rather than double.Parse. This returns false if the string entered can't be parsed to a double and sets the variable passed to it as an output parameter to 0.
Suthish NairRank #92 · 22.8K reputationPosted Feb 19, 2012, 7:50 AM EST