Is there a way to know what is passed to method when an exception is thrown.e.g; Convert.ToBoolean(string mystring) when it throws FormatException?
Here I want to know what was mystring when exception was thrown?
Is there a way to know what is passed to method when an exception
Share
You should just be using
Boolean.TryParse. Then you can say