Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Databinding not working...? Pin
Josh Smith27-Apr-06 7:09
Josh Smith27-Apr-06 7:09 
GeneralRe: Databinding not working...? Pin
mikker_12327-Apr-06 7:33
mikker_12327-Apr-06 7:33 
QuestionDATA GRID Pin
MilindKumar27-Apr-06 2:20
MilindKumar27-Apr-06 2:20 
AnswerRe: DATA GRID Pin
Josh Smith27-Apr-06 4:25
Josh Smith27-Apr-06 4:25 
QuestionMemoryOutException Pin
agmb27-Apr-06 2:18
agmb27-Apr-06 2:18 
AnswerRe: MemoryOutException Pin
Ed.Poore27-Apr-06 3:39
Ed.Poore27-Apr-06 3:39 
AnswerRe: MemoryOutException Pin
V.27-Apr-06 4:13
professionalV.27-Apr-06 4:13 
AnswerRe: MemoryOutException Pin
Guffa27-Apr-06 7:12
Guffa27-Apr-06 7:12 
Any object that implents IDisposable has to be disposed to be up for garbage collection.

If your object contains other objects that implements IDisposable, your object should also do so, in order for your object to be able to dispose the objects that it contains.

When implementing IDisposable you should also implement a finalizer. That keeps most memory leak accidents from happening. If the garbage collector finds objects that could be collected but are not disposed correctly, it will call the finalizer to make the object dispose itself. If the object has no finalizer and the inner objects are not referenced from elsewhere (so they can be disposed), the object can never be collected.

MSDN: IDisposable interface[^]

---
b { font-weight: normal; }


-- modified at 13:14 Thursday 27th April, 2006
Questiontwo columns as source for checkedlistbox.DisplayMember ? Pin
livez27-Apr-06 1:29
livez27-Apr-06 1:29 
AnswerRe: two columns as source for checkedlistbox.DisplayMember ? Pin
Ed.Poore27-Apr-06 3:25
Ed.Poore27-Apr-06 3:25 
QuestionControlBox Close Button Pin
paas27-Apr-06 1:01
paas27-Apr-06 1:01 
AnswerRe: ControlBox Close Button Pin
Shajeel27-Apr-06 1:58
Shajeel27-Apr-06 1:58 
GeneralRe: ControlBox Close Button Pin
paas27-Apr-06 4:27
paas27-Apr-06 4:27 
AnswerRe: ControlBox Close Button Pin
Shajeel27-Apr-06 20:47
Shajeel27-Apr-06 20:47 
QuestionComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 0:23
joaoafonso27-Apr-06 0:23 
AnswerRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 1:41
Ed.Poore27-Apr-06 1:41 
GeneralRe: ComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 2:00
joaoafonso27-Apr-06 2:00 
GeneralRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 3:16
Ed.Poore27-Apr-06 3:16 
GeneralRe: ComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 6:00
joaoafonso27-Apr-06 6:00 
GeneralRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 6:02
Ed.Poore27-Apr-06 6:02 
QuestionHow can i use a masked textbox column in a datagridview for date format Pin
Lee ju26-Apr-06 23:57
Lee ju26-Apr-06 23:57 
QuestionEmbedding two forms Pin
praveenqwe26-Apr-06 23:50
praveenqwe26-Apr-06 23:50 
GeneralRe: Embedding two forms Pin
Guffa27-Apr-06 1:13
Guffa27-Apr-06 1:13 
Questionsqlconnection :S :S Pin
Greeky26-Apr-06 23:50
Greeky26-Apr-06 23:50 
AnswerRe: sqlconnection :S :S Pin
J4amieC27-Apr-06 0:10
J4amieC27-Apr-06 0:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.