What is the real use of handling exceptions in C# ?
Exception handling will stop the abrupt termination of the program.
Exception handling can be used for identifying the location of the code which is failing in the runtime by logging or storing the exceptions in error log files.
Exception handling can be used for displaying the messages to the users, hence user can take corrective actions.
All the three options are correct.
All the three options are correct .
Back To Top