Click here to Skip to main content
15,909,091 members
Home / Discussions / C#
   

C#

 
AnswerRe: Collection of stuct object - does the GC will run ? Pin
johannesnestler24-Aug-10 4:29
johannesnestler24-Aug-10 4:29 
I don't understand your questions... First you ask if "cleaning" a collection causes GC to run. - Answer is Maybe... Because GC is hardly predictable and depends on the memory use of your whole application. You can force garbage collection with GC.Collect - but this is not good practice...
Then you say you want to avoid GC to run? And what the hell you mean with "because the objects in the collection are value types"?
Maybe you tell us what your problem is? Performance, memory, general interest? How many values will be in the collection and what you mean with "cleaning"?
GeneralRe: Collection of struct object - does the GC will run ? Pin
Yanshof24-Aug-10 5:03
Yanshof24-Aug-10 5:03 
GeneralRe: Collection of struct object - does the GC will run ? Pin
johannesnestler24-Aug-10 22:12
johannesnestler24-Aug-10 22:12 
QuestionString Extraction Pin
NaveenHS23-Aug-10 20:39
NaveenHS23-Aug-10 20:39 
AnswerRe: String Extraction PinPopular
Richard MacCutchan23-Aug-10 21:15
mveRichard MacCutchan23-Aug-10 21:15 
GeneralRe: String Extraction Pin
NaveenHS24-Aug-10 1:13
NaveenHS24-Aug-10 1:13 
AnswerRe: String Extraction Pin
Luc Pattyn24-Aug-10 0:59
sitebuilderLuc Pattyn24-Aug-10 0:59 
AnswerRe: String Extraction Pin
Ravi Bhavnani24-Aug-10 8:18
professionalRavi Bhavnani24-Aug-10 8:18 
AnswerRe: String Extraction Pin
AspDotNetDev24-Aug-10 10:26
protectorAspDotNetDev24-Aug-10 10:26 
QuestionWould I be cheating if I... (An XNA/Game dev question) Pin
venomation23-Aug-10 8:48
venomation23-Aug-10 8:48 
AnswerMessage Closed Pin
23-Aug-10 12:42
_beauw_23-Aug-10 12:42 
GeneralRe: Would I be cheating if I... (An XNA/Game dev question) Pin
venomation23-Aug-10 12:49
venomation23-Aug-10 12:49 
AnswerRe: Would I be cheating if I... (An XNA/Game dev question) Pin
CDP180224-Aug-10 3:45
CDP180224-Aug-10 3:45 
AnswerRe: Would I be cheating if I... (An XNA/Game dev question) Pin
ely_bob24-Aug-10 3:58
professionalely_bob24-Aug-10 3:58 
QuestionHow can I turn on a computer when it is truned off ? Pin
jojoba201123-Aug-10 8:15
jojoba201123-Aug-10 8:15 
AnswerRe: How can I turn on a computer when it is truned off ? PinPopular
Pete O'Hanlon23-Aug-10 8:20
mvePete O'Hanlon23-Aug-10 8:20 
GeneralRe: How can I turn on a computer when it is truned off ? Pin
Frank Fajardo24-Aug-10 15:16
Frank Fajardo24-Aug-10 15:16 
AnswerRe: How can I turn on a computer when it is truned off ? PinPopular
OriginalGriff23-Aug-10 8:23
mveOriginalGriff23-Aug-10 8:23 
AnswerRe: How can I turn on a computer when it is truned off ? PinPopular
#realJSOP23-Aug-10 8:27
professional#realJSOP23-Aug-10 8:27 
AnswerRe: How can I turn on a computer when it is truned off ? PinPopular
Yusuf23-Aug-10 8:28
Yusuf23-Aug-10 8:28 
AnswerRe: How can I turn on a computer when it is truned off ? Pin
Kenneth Ballard23-Aug-10 8:28
Kenneth Ballard23-Aug-10 8:28 
GeneralRe: How can I turn on a computer when it is truned off ? Pin
Warren Diprose24-Aug-10 5:33
Warren Diprose24-Aug-10 5:33 
AnswerRe: How can I turn on a computer when it is truned off ? Pin
Eddy Vluggen23-Aug-10 10:04
professionalEddy Vluggen23-Aug-10 10:04 
AnswerRe: How can I turn on a computer when it is truned off ? Pin
Luc Pattyn23-Aug-10 10:33
sitebuilderLuc Pattyn23-Aug-10 10:33 
GeneralRe: How can I turn on a computer when it is truned off ? Pin
Earl Truss24-Aug-10 5:06
Earl Truss24-Aug-10 5:06 

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.