Microsoft
98-379 · Question #170
You have the following code. (Line numbers are included for reference only.) Which exception must be thrown in order for the test case to pass?
The correct answer is D. ArgumentException. See the full explanation below for the reasoning.
Question
You have the following code. (Line numbers are included for reference only.) Which exception must be thrown in order for the test case to pass?
Exhibit
Options
- AExpectedException
- BSystem.Exception
- CInvalidArgumentException
- DArgumentException
How the community answered
(37 responses)- A8% (3)
- B14% (5)
- C3% (1)
- D76% (28)
Community Discussion
No community discussion yet for this question.
