Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom configuration in app.config Pin
Member 102635197-Nov-13 19:58
Member 102635197-Nov-13 19:58 
AnswerRe: Custom configuration in app.config Pin
Richard MacCutchan7-Nov-13 0:53
mveRichard MacCutchan7-Nov-13 0:53 
QuestionC# code to fetch all attributes of an element Pin
AshwiniSH6-Nov-13 23:09
professionalAshwiniSH6-Nov-13 23:09 
AnswerRe: C# code to fetch all attributes of an element Pin
Pete O'Hanlon6-Nov-13 23:41
mvePete O'Hanlon6-Nov-13 23:41 
AnswerRe: C# code to fetch all attributes of an element Pin
Abhinav S7-Nov-13 0:15
Abhinav S7-Nov-13 0:15 
QuestionHow to perform file transfer using SFTP using Genymed SSH2 dll in dot net Pin
superselector6-Nov-13 23:08
superselector6-Nov-13 23:08 
Questionvolatile Pin
devvvy6-Nov-13 19:35
devvvy6-Nov-13 19:35 
AnswerRe: volatile Pin
OriginalGriff7-Nov-13 0:03
mveOriginalGriff7-Nov-13 0:03 
volatile won't help that - all it does is signal to the compiler that it may be changed outside so it can't optimise it into a local register. That is not the same as locking the value.
Don't forget, "n++" is just a syntactic sugar for "Fetch the value of 'n'. Add one to the value. Save the value back to 'n'"
Without locking, other threads can get in between the "Fetch" and the "Save" and do what they like to the value of 'n' without affecting the actual value used by your code because once it is fetched the changes will be ignored.
The only instant messaging I do involves my middle finger.

English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

AnswerRe: volatile Pin
Richard Deeming7-Nov-13 2:28
mveRichard Deeming7-Nov-13 2:28 
QuestionReal world experience with SqlDependency? Pin
Ron Beyer6-Nov-13 15:04
professionalRon Beyer6-Nov-13 15:04 
JokeRe: Real world experience with SqlDependency? Pin
_Maxxx_6-Nov-13 20:04
professional_Maxxx_6-Nov-13 20:04 
Questionerror can't access a doublebuffer class derived from panel class due to protected level Pin
Gene Baptiste6-Nov-13 12:32
Gene Baptiste6-Nov-13 12:32 
AnswerRe: error can't access a doublebuffer class derived from panel class due to protected level Pin
Pete O'Hanlon6-Nov-13 12:44
mvePete O'Hanlon6-Nov-13 12:44 
QuestionIndex of Button Pin
cdpsource6-Nov-13 11:37
cdpsource6-Nov-13 11:37 
AnswerRe: Index of Button Pin
BillWoodruff6-Nov-13 12:29
professionalBillWoodruff6-Nov-13 12:29 
Questionsorting a string Pin
vkEE6-Nov-13 8:13
vkEE6-Nov-13 8:13 
AnswerRe: sorting a string Pin
Richard Deeming6-Nov-13 8:28
mveRichard Deeming6-Nov-13 8:28 
AnswerRe: sorting a string Pin
BillWoodruff6-Nov-13 10:45
professionalBillWoodruff6-Nov-13 10:45 
GeneralRe: sorting a string Pin
vkEE7-Nov-13 3:36
vkEE7-Nov-13 3:36 
GeneralRe: sorting a string Pin
V.7-Nov-13 20:23
professionalV.7-Nov-13 20:23 
AnswerRe: sorting a string Pin
Abhinav S6-Nov-13 18:10
Abhinav S6-Nov-13 18:10 
QuestionSensor handling through coomport Pin
Sanjiv Barnwal6-Nov-13 2:41
Sanjiv Barnwal6-Nov-13 2:41 
AnswerRe: Sensor handling through coomport Pin
Chris Quinn6-Nov-13 3:26
Chris Quinn6-Nov-13 3:26 
SuggestionRe: Sensor handling through coomport Pin
Richard MacCutchan6-Nov-13 4:01
mveRichard MacCutchan6-Nov-13 4:01 
Questionoverlap Pin
Member 103812095-Nov-13 23:10
Member 103812095-Nov-13 23:10 

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.