What is the use of try & catch?
(a) It is used to manually handle the exception
(b) It helps to fix the errors
(c) It prevents automatic terminating of the program in cases when an exception occurs
(d) All of the mentioned
I had been asked this question at a job interview.
The doubt is from Try & Catch in Detail in portion Indexers and Exception Handling of C#