Multiple choice

Which of the following exception is raised in C# when a method throws an exception in case an argument is null where not allowed?

  1. SystemException

  2. ArgumentNullException

  3. IndexOutOfRangeException

  4. InteropException

  5. ComException

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This exception is raised in C# when a method throws an exception in case an argument is null.