Dispose and Finalize - When to use

G

Guest

I have two questions;

1)When should one use Dispose on objects

2)Is the Finalize Overrides sub needed in classes and if so, when and why?

Thanks for any clarification on these two items.
 
C

Cor Ligthert

Dennis,

The most simple answers,
1)When should one use Dispose on objects
When it is written that you should
2)Is the Finalize Overrides sub needed in classes and if so, when and why?
The same answer as above, otherwise never.

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top