I'm creating a lot if custom business objects. They work better, faster and
lighter than using table adaptors. Totally cool so far except for one thing i
just thought of: destructors. I've searched for this a little and can not
find a good answer as to whether or not to create them nor how to use them. I
kill all my datareaders (like a good boy should!), but i'm starting to get
concerned about these custom objects and lists of objects i'm creating.
1. I'm doing asp.net if it makes a difference
2. i get the impression that they just die when they go out of scope.
3. if they do die when out of scope can the garbage collector be told to
free up.
space now?
4. It's worth noting that all my created object are dumb objects that do not
include methods. Methods are in other classes. This does make them light, so
should i be worried?
Thanks
--
Share The Knowledge. I need all the help I can get and so do you!