You are developing an application in C#.
The application uses exception handling on a method that is used to execute mathematical calculations by using integer numbers.
You write the following catch blocks for the method (line numbers are included for reference only):
You need to add the following code to the method:
At which line should you insert the code?
A. 01
B. 03
C. 05
D. 07
As more specific errors come on the top, After that the general errors come.
One line 2 Arithmetic exception is written which will be catching all the arithmetic exceptions. so we need to put the statement on line 1.