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

C#

 
GeneralRe: More limited than internal? Pin
Nathan Blomquist2-Oct-03 10:44
Nathan Blomquist2-Oct-03 10:44 
GeneralRe: More limited than internal? Pin
Meysam Mahfouzi2-Oct-03 20:10
Meysam Mahfouzi2-Oct-03 20:10 
GeneralRe: More limited than internal? Pin
Nathan Blomquist3-Oct-03 4:36
Nathan Blomquist3-Oct-03 4:36 
GeneralTable won't store data Pin
Obi730-Sep-03 1:37
Obi730-Sep-03 1:37 
Generalquestion about threads please Pin
profoundwhispers30-Sep-03 0:49
profoundwhispers30-Sep-03 0:49 
GeneralRe: question about threads please Pin
Heath Stewart30-Sep-03 2:05
protectorHeath Stewart30-Sep-03 2:05 
GeneralRe: question about threads please Pin
profoundwhispers30-Sep-03 3:24
profoundwhispers30-Sep-03 3:24 
GeneralRe: question about threads please Pin
Heath Stewart30-Sep-03 3:33
protectorHeath Stewart30-Sep-03 3:33 
I think you need to either pick up a good book on .NET or read the SDK documentation. You are missing one of the most crucial aspects of .NET's CLR - garbage collection. When the thread exits, the memory for that thread object will eventually be reclaimed. If an object implements IDisposable (usually classes that wrap system objects, like files or mutexes), you are supposed to dispose it but they will be diposed when destroyed when the app exits.

In the case of threads, you don't need to worry about it. thrd is only a reference to an object that will get cleaned up. As long as you assign to it, you're not changing the object at all.

These are some of the most fundamental pieces of the .NET framework (and Java, for that matter) and should be explored.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: question about threads please Pin
profoundwhispers30-Sep-03 3:36
profoundwhispers30-Sep-03 3:36 
Questionis it possible? Pin
boazneon30-Sep-03 0:35
boazneon30-Sep-03 0:35 
AnswerRe: is it possible? Pin
Ryan_Roberts30-Sep-03 1:15
Ryan_Roberts30-Sep-03 1:15 
GeneralRe: is it possible? Pin
boazneon30-Sep-03 1:57
boazneon30-Sep-03 1:57 
Generalproblem with inf file Pin
Srikar Y30-Sep-03 0:35
Srikar Y30-Sep-03 0:35 
GeneralRe: problem with inf file Pin
Heath Stewart30-Sep-03 2:02
protectorHeath Stewart30-Sep-03 2:02 
GeneralWeb Services proxy class Pin
sneaky90930-Sep-03 0:08
sneaky90930-Sep-03 0:08 
GeneralRe: Web Services proxy class Pin
Ryan_Roberts30-Sep-03 1:09
Ryan_Roberts30-Sep-03 1:09 
Questionremoting server in console app? Pin
Roger Alsing29-Sep-03 22:37
Roger Alsing29-Sep-03 22:37 
AnswerRe: remoting server in console app? Pin
Blake Coverett29-Sep-03 23:09
Blake Coverett29-Sep-03 23:09 
GeneralRe: remoting server in console app? Pin
Roger Alsing29-Sep-03 23:31
Roger Alsing29-Sep-03 23:31 
GeneralControl Key Combo Pin
deanoA29-Sep-03 20:40
deanoA29-Sep-03 20:40 
GeneralRe: Control Key Combo Pin
Heath Stewart30-Sep-03 2:16
protectorHeath Stewart30-Sep-03 2:16 
QuestionPicture & Streamer : closed or not? Pin
Stephane David29-Sep-03 20:24
Stephane David29-Sep-03 20:24 
GeneralCallling a dll in COM+ Component Pin
Member 83727229-Sep-03 20:16
Member 83727229-Sep-03 20:16 
GeneralSave a picture Pin
Birdy29-Sep-03 18:43
Birdy29-Sep-03 18:43 
GeneralRe: Save a picture Pin
J. Dunlap29-Sep-03 19:20
J. Dunlap29-Sep-03 19:20 

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.