Microsoft
98-379 · Question #32
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 C. 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
- ASystem.Exception
- BExpectedException
- CArgumentException
- DInvalidArgumentException
How the community answered
(49 responses)- A2% (1)
- B4% (2)
- C84% (41)
- D10% (5)
Community Discussion
No community discussion yet for this question.
