Which method in VB.NET is called right before the object is destroyed

A) Sealed
B) Finalize
C) Finally

Showing Answers 1 - 3 of 3 Answers

Praveen Pampati

  • Jan 24th, 2006
 

B)Finalize()

Finally is just execute cleanup code after Try Catch Block. Though, try block raises exception, atlast it comes to Finally block to cleanup.

Finalize does the destruction of object.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions