You need to handle the following exception and meet the error handling requirements.
Which code segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
You need to handle the following exception and meet the error handling requirements.
Which code segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
The answer is C. You can’t await in a catch block.