Click here to Skip to main content
15,896,497 members
Home / Discussions / C#
   

C#

 
GeneralRe: update from combobo to textbox Pin
Christian Graus23-Oct-07 20:12
protectorChristian Graus23-Oct-07 20:12 
GeneralRe: update from combobo to textbox Pin
kabutar23-Oct-07 20:23
kabutar23-Oct-07 20:23 
QuestionRemoving refrences or objects ? Garbage collector Pin
N a v a n e e t h23-Oct-07 20:03
N a v a n e e t h23-Oct-07 20:03 
AnswerRe: Removing refrences or objects ? Garbage collector Pin
Christian Graus23-Oct-07 20:10
protectorChristian Graus23-Oct-07 20:10 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
N a v a n e e t h23-Oct-07 20:14
N a v a n e e t h23-Oct-07 20:14 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
Christian Graus23-Oct-07 20:25
protectorChristian Graus23-Oct-07 20:25 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
N a v a n e e t h23-Oct-07 20:31
N a v a n e e t h23-Oct-07 20:31 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
lmoelleb23-Oct-07 20:45
lmoelleb23-Oct-07 20:45 
The standard implementation in objects with unmanaged references is to call Dispose from the destructor. If you forgot to call Dispose it will still be called from the garbage collector when it gets arround to release the object.

This does not mean you shouldn't call Dispose, just like the fact that your car has airbags doesn't mean you should crash it.

I recommend you Google C# dispose pattern[^] and read a bit about how it is implemented (including the use of a destructor).
GeneralRe: Removing refrences or objects ? Garbage collector Pin
N a v a n e e t h23-Oct-07 20:59
N a v a n e e t h23-Oct-07 20:59 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
lmoelleb23-Oct-07 21:17
lmoelleb23-Oct-07 21:17 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
N a v a n e e t h23-Oct-07 21:21
N a v a n e e t h23-Oct-07 21:21 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
lmoelleb23-Oct-07 21:27
lmoelleb23-Oct-07 21:27 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
N a v a n e e t h23-Oct-07 21:32
N a v a n e e t h23-Oct-07 21:32 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
lmoelleb23-Oct-07 22:45
lmoelleb23-Oct-07 22:45 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
N a v a n e e t h23-Oct-07 23:01
N a v a n e e t h23-Oct-07 23:01 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
Scott Dorman24-Oct-07 1:18
professionalScott Dorman24-Oct-07 1:18 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
Scott Dorman24-Oct-07 1:19
professionalScott Dorman24-Oct-07 1:19 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
Scott Dorman24-Oct-07 1:36
professionalScott Dorman24-Oct-07 1:36 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
lmoelleb24-Oct-07 2:35
lmoelleb24-Oct-07 2:35 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
Scott Dorman24-Oct-07 12:46
professionalScott Dorman24-Oct-07 12:46 
GeneralRe: Removing refrences or objects ? Garbage collector Pin
Scott Dorman24-Oct-07 1:22
professionalScott Dorman24-Oct-07 1:22 
Questionupdate from combobo to textbox Pin
kabutar23-Oct-07 19:54
kabutar23-Oct-07 19:54 
AnswerRe: update from combobo to textbox Pin
Christian Graus23-Oct-07 20:02
protectorChristian Graus23-Oct-07 20:02 
GeneralRe: update from combobo to textbox Pin
kabutar23-Oct-07 20:07
kabutar23-Oct-07 20:07 
Questioninsertion of nature of comment row. [modified] Pin
alok217123-Oct-07 19:43
alok217123-Oct-07 19:43 

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.