Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
GeneralRe: Strange order of events in ListView with MultiSelect set to false Pin
johannesnestler24-Aug-10 23:05
johannesnestler24-Aug-10 23:05 
AnswerRe: Strange order of events in ListView with MultiSelect set to false Pin
DaveyM6924-Aug-10 10:41
professionalDaveyM6924-Aug-10 10:41 
GeneralRe: Strange order of events in ListView with MultiSelect set to false Pin
crypto_rsa25-Aug-10 1:12
crypto_rsa25-Aug-10 1:12 
QuestionEditable datagridview Pin
saqib8224-Aug-10 5:37
saqib8224-Aug-10 5:37 
AnswerRe: Editable datagridview Pin
dan!sh 24-Aug-10 6:00
professional dan!sh 24-Aug-10 6:00 
GeneralRe: Editable datagridview Pin
saqib8224-Aug-10 6:07
saqib8224-Aug-10 6:07 
GeneralRe: Editable datagridview Pin
dan!sh 24-Aug-10 6:24
professional dan!sh 24-Aug-10 6:24 
GeneralRe: Editable datagridview Pin
saqib8224-Aug-10 6:39
saqib8224-Aug-10 6:39 
AnswerRe: Editable datagridview Pin
Mada Naga Sankar25-Aug-10 19:38
Mada Naga Sankar25-Aug-10 19:38 
Questionproblem with invoke method. it says cannot call invoke on a control until the window handle has been created Pin
prasadbuddhika24-Aug-10 4:59
prasadbuddhika24-Aug-10 4:59 
AnswerRe: problem with invoke method. it says cannot call invoke on a control until the window handle has been created Pin
Luc Pattyn24-Aug-10 5:32
sitebuilderLuc Pattyn24-Aug-10 5:32 
AnswerRe: problem with invoke method. it says cannot call invoke on a control until the window handle has been created Pin
Chris Trelawny-Ross24-Aug-10 5:34
Chris Trelawny-Ross24-Aug-10 5:34 
AnswerRe: problem with invoke method. it says cannot call invoke on a control until the window handle has been created [modified] Pin
DaveyM6924-Aug-10 9:14
professionalDaveyM6924-Aug-10 9:14 
QuestionCollection of stuct object - does the GC will run ? Pin
Yanshof24-Aug-10 2:20
Yanshof24-Aug-10 2:20 
AnswerRe: Collection of stuct object - does the GC will run ? Pin
Ian Shlasko24-Aug-10 2:43
Ian Shlasko24-Aug-10 2:43 
GeneralRe: Collection of stuct object - does the GC will run ? Pin
Łukasz Nowakowski24-Aug-10 2:57
Łukasz Nowakowski24-Aug-10 2:57 
GeneralRe: Collection of stuct object - does the GC will run ? Pin
Paul Michalik24-Aug-10 23:01
Paul Michalik24-Aug-10 23:01 
AnswerRe: Collection of stuct object - does the GC will run ? Pin
Luc Pattyn24-Aug-10 2:56
sitebuilderLuc Pattyn24-Aug-10 2:56 
AnswerRe: Collection of stuct object - does the GC will run ? Pin
johannesnestler24-Aug-10 4:29
johannesnestler24-Aug-10 4:29 
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 
@1: Don't worry, as long as you keep a reference to your data GC will not free any memory. I don't understand how you can "loose data" because of the GC? If you loose your reference to the data, it's lost anyway...
@2: Maybe here's the root of your perfomance problems? Depends on what you are doing with your collection...
Think about your application architecture (Maybe you don't have to hold all this items in memory?)
@3: Coming from years of manual memory handling with C/C++, and using .NET now since Version 1.0, I can tell you there were hardly any circumstances when I wanted to handle the
memory allocation/freeing for myself again. From my view the GC works pretty perfect, and the best thing: You don't have to know much about it. Whenever I ran into memory-related performance problems it was because of wired requirements or bad designed application architecture. First make shure you got this right, and if memory-handling is still the problem you may want to do some tricks with "unsafe" or "native code", at least the critical parts? Or use some other technics like memory-mapped-file etc. (do a search here on codeproject)
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 

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.