Knowledge check

Completed

Check your knowledge

1.

A developer needs to create and throw an exception in a C# application. Which of the following descriptions is correct?

2.

When should a method throw an exception?

3.

A developer needs to create an exception object that includes a specific Message property. Which of the following statements is correct?