Why you must close and dispose the resources in the finally block instead of catch block?

 Posted by Rajkatie on 12/22/2012 | Category: .NET Framework Interview questions | Views: 9295 | Points: 40
Select from following answers:
  1. Because finally block runs whether or not exception occurs
  2. Because you can't dispose of resources in a catch block
  3. Because it keep you from having to repeat the operation in each catch
  4. All Above

Show Correct Answer

| Alert Moderator 

Comments or Responses

Login to post response