Click here to Skip to main content
15,903,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: Receiving Data Asynchronously on Socket Class Pin
Richard Andrew x644-Oct-11 11:12
professionalRichard Andrew x644-Oct-11 11:12 
GeneralRe: Receiving Data Asynchronously on Socket Class Pin
jschell5-Oct-11 9:04
jschell5-Oct-11 9:04 
QuestionRemoving duplicate object instances? Pin
R4jlu3-Oct-11 2:41
R4jlu3-Oct-11 2:41 
AnswerRe: Removing duplicate object instances? Pin
Pete O'Hanlon3-Oct-11 3:06
mvePete O'Hanlon3-Oct-11 3:06 
GeneralRe: Removing duplicate object instances? Pin
R4jlu3-Oct-11 3:26
R4jlu3-Oct-11 3:26 
AnswerRe: Removing duplicate object instances? Pin
Luc Pattyn3-Oct-11 3:51
sitebuilderLuc Pattyn3-Oct-11 3:51 
GeneralRe: Removing duplicate object instances? Pin
R4jlu3-Oct-11 4:13
R4jlu3-Oct-11 4:13 
AnswerRe: Removing duplicate object instances? Pin
Luc Pattyn3-Oct-11 4:48
sitebuilderLuc Pattyn3-Oct-11 4:48 
R4jlu wrote:
Is it bad to call the GC.Collect() method


Yes, it is. The GC will collect when it needs more memory than is currently available (i.e. when you create another probably big object); there typically is no reason to free memory earlier than that (your app's memory most often isn't going to return to Windows anyway). So let it perform its job the way it thinks best.

You may start using GC judiciously after you have become an expert programmer... Big Grin | :-D
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Removing duplicate object instances? Pin
Pete O'Hanlon3-Oct-11 5:04
mvePete O'Hanlon3-Oct-11 5:04 
AnswerRe: Removing duplicate object instances? Pin
Luc Pattyn3-Oct-11 5:12
sitebuilderLuc Pattyn3-Oct-11 5:12 
GeneralRe: Removing duplicate object instances? Pin
BobJanova3-Oct-11 5:24
BobJanova3-Oct-11 5:24 
GeneralRe: Removing duplicate object instances? Pin
R4jlu3-Oct-11 5:58
R4jlu3-Oct-11 5:58 
GeneralRe: Removing duplicate object instances? Pin
Pete O'Hanlon3-Oct-11 6:03
mvePete O'Hanlon3-Oct-11 6:03 
AnswerRe: Removing duplicate object instances? Pin
BobJanova3-Oct-11 4:23
BobJanova3-Oct-11 4:23 
QuestionWinForm Management Pin
Arjun Thadani2-Oct-11 22:17
Arjun Thadani2-Oct-11 22:17 
AnswerRe: WinForm Management PinPopular
Shameel2-Oct-11 22:31
professionalShameel2-Oct-11 22:31 
GeneralRe: WinForm Management Pin
Arjun Thadani2-Oct-11 23:40
Arjun Thadani2-Oct-11 23:40 
GeneralRe: WinForm Management Pin
BobJanova3-Oct-11 1:05
BobJanova3-Oct-11 1:05 
QuestionHow do you get an Idle Message in a UserControl class in C#? Pin
Xarzu2-Oct-11 18:05
Xarzu2-Oct-11 18:05 
Questionget Url of a frame from browser Pin
moums2-Oct-11 8:46
moums2-Oct-11 8:46 
Questioncode for HDD serial number Pin
sokh2-Oct-11 2:41
sokh2-Oct-11 2:41 
AnswerRe: code for HDD serial number Pin
André Kraak2-Oct-11 2:59
André Kraak2-Oct-11 2:59 
AnswerRe: code for HDD serial number Pin
Dave Kreskowiak2-Oct-11 4:57
mveDave Kreskowiak2-Oct-11 4:57 
AnswerRe: code for HDD serial number Pin
Luc Pattyn2-Oct-11 7:00
sitebuilderLuc Pattyn2-Oct-11 7:00 
QuestionIssue with Imultiple result sets Pin
siva45530-Sep-11 21:46
siva45530-Sep-11 21:46 

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.