New Message on dotNET User Group Hyd

Why Dispose When there is GC

Reply
  Reply to Sender   Recommend Message 1 in Discussion
From: PalanivelrajanL

Dear Friend,
 
I know that Dispose is deallocating the memory. Is it for Unmannaged Code?. If so why all Windows forms class by default has Dispose method. In Windows form when it is called.
 
I know that dispose method is in Idisposable interfase.
 
Normally we don't override the what ever class we write for Logic.
When I writting any custom control does I have to inherit the Idisposeble and Override the disposable.
 
Kindly tell me the What is measure for when to use Dispose and when it is executed and what way it differ from Garbage Collection.
 
Thank You
 
With Regards
 
 
 

View other groups in this category.

Click here
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

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.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to