What is the difference between Dispose() and Finalize() methods?

 Posted by Rajeshatkiit on 12/22/2015 | Category: C# Interview questions | Views: 1830 | Points: 40
Select from following answers:
  1. Dispose() method will remove the resources to a class and Finalize() will release the memory for a class.
  2. Dispose() method is used for a class and Finalize() method is for a class method.
  3. Dispose() will be called by programmer explicitly and Finalize() method is called by Garbage Collector implicitly.
  4. All
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response