In this way, TryParse can be called instead of allowing the Parse method to throw an exception.
This is helpful if there's a spelling mistake in the phrase that is parsed, in which case a generic "System.NullReferenceException: Object reference not set to an instance of an object." is currently thrown with no indication of a more meaningful error message.
Thank you for nChronic.
I would like to request support for TryParse.
In this way, TryParse can be called instead of allowing the Parse method to throw an exception.
This is helpful if there's a spelling mistake in the phrase that is parsed, in which case a generic "System.NullReferenceException: Object reference not set to an instance of an object." is currently thrown with no indication of a more meaningful error message.
Thank you.