An exception is a runtime error — a problem that occurs while your program is running, not while it's compiling. When something goes wrong (like trying to convert the text "abc" to a number), the .NET runtime creates an exception object and throws it. If your code doesn't handle the exception, the application will crash.
https://jimk-developer.github.io/quick-guides/cs/cs-exceptions-validation-guide.html