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

C#

 
AnswerRe: Web Browser Pin
luckykhalid31-Oct-06 19:10
luckykhalid31-Oct-06 19:10 
Questionhow to make datagrid cell invisible? Pin
econnor31-Oct-06 4:49
econnor31-Oct-06 4:49 
AnswerRe: how to make datagrid cell invisible? Pin
sam#31-Oct-06 5:33
sam#31-Oct-06 5:33 
GeneralRe: how to make datagrid cell invisible? Pin
econnor31-Oct-06 5:37
econnor31-Oct-06 5:37 
QuestionWeird crashes Pin
Bekjong31-Oct-06 4:44
Bekjong31-Oct-06 4:44 
AnswerRe: Weird crashes Pin
Rob Graham31-Oct-06 5:28
Rob Graham31-Oct-06 5:28 
GeneralRe: Weird crashes Pin
Bekjong31-Oct-06 5:34
Bekjong31-Oct-06 5:34 
GeneralRe: Weird crashes Pin
Rob Graham1-Nov-06 4:46
Rob Graham1-Nov-06 4:46 
declareing the variables as volatile will just insure the compiler doesn't optimize their use in loops in a way that might cause strange problems, but it is a good idea for shared variuables (paricularly things like a boolean used to stop one thread from another thread). It won't however prenent things likje one tread incrementing a variable will another thread is doing the same thing (causing, for instance, code to attempt to access beyond the end of an array or collection). For that you nead to use locks to force one thread at a time access. Any collections or arrays that are shared across threads should be protected by locking before making changes, collections should be the synchronized variation and be accessed by locking code.
This article[^] has some good explanations, tips and links to further resources.



GeneralRe: Weird crashes Pin
Bekjong1-Nov-06 6:03
Bekjong1-Nov-06 6:03 
AnswerRe: Weird crashes Pin
sam#31-Oct-06 5:28
sam#31-Oct-06 5:28 
GeneralRe: Weird crashes Pin
Bekjong31-Oct-06 5:36
Bekjong31-Oct-06 5:36 
Questionreferencing a member of a parent class Pin
grivix31-Oct-06 4:39
grivix31-Oct-06 4:39 
AnswerRe: referencing a member of a parent class Pin
Colin Angus Mackay31-Oct-06 4:56
Colin Angus Mackay31-Oct-06 4:56 
GeneralRe: referencing a member of a parent class Pin
Alaric_31-Oct-06 6:05
professionalAlaric_31-Oct-06 6:05 
GeneralRe: referencing a member of a parent class Pin
Colin Angus Mackay31-Oct-06 6:11
Colin Angus Mackay31-Oct-06 6:11 
GeneralRe: referencing a member of a parent class Pin
grivix31-Oct-06 6:22
grivix31-Oct-06 6:22 
GeneralRe: referencing a member of a parent class Pin
grivix31-Oct-06 6:24
grivix31-Oct-06 6:24 
AnswerRe: referencing a member of a parent class Pin
Colin Angus Mackay31-Oct-06 6:24
Colin Angus Mackay31-Oct-06 6:24 
GeneralRe: referencing a member of a parent class Pin
grivix31-Oct-06 6:28
grivix31-Oct-06 6:28 
QuestionNeed XML FAQs Pin
AR Reddy31-Oct-06 4:22
AR Reddy31-Oct-06 4:22 
AnswerRe: Need XML FAQs Pin
led mike31-Oct-06 6:15
led mike31-Oct-06 6:15 
QuestionNewbie: Stupid question about forms & variables... Pin
Phillip Hodges31-Oct-06 4:09
Phillip Hodges31-Oct-06 4:09 
AnswerRe: Newbie: Stupid question about forms & variables... Pin
V.31-Oct-06 4:32
professionalV.31-Oct-06 4:32 
AnswerRe: Newbie: Stupid question about forms & variables... Pin
Guffa31-Oct-06 4:33
Guffa31-Oct-06 4:33 
AnswerRe: Newbie: Stupid question about forms & variables... Pin
Stefan Troschuetz31-Oct-06 4:57
Stefan Troschuetz31-Oct-06 4:57 

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.