----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: spark Message 3 in Discussion close and dispose are largely different in intent. objects that are disposed are generally not meant for re-use. object that are closed are not meaningless any more and the same instance maybe re-used after probably making some call such as an open of some sort. close and dispose are not really tied to teh grbage collection of the object - the object is still in memory after these methods are called. however they may have made significant changes to their internal states and communicated these to the grabge collector as well. if you really think about it, there is no real need ever to collect a specific object. if you need memory you need a general cleanup and GC.Collect will do that for you. If you need to reslease resources held by an object you can put such clenup code into a dispose/close method. rosh ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
