Which code segment should you use?

You write a method named DoWork. You need to log all exceptions that occur inside DoWork. You
also need to ensure that all exceptions are raised to the calling code. Which code segment should
you use?

You write a method named DoWork. You need to log all exceptions that occur inside DoWork. You
also need to ensure that all exceptions are raised to the calling code. Which code segment should
you use?

A.

B.

C.

D.



Leave a Reply 2

Your email address will not be published. Required fields are marked *