Click here to Skip to main content
15,890,670 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
LordZoster16-Nov-08 0:13
LordZoster16-Nov-08 0:13 
AnswerRe: Browse XML document with "dot" notation? Pin
Colin Angus Mackay16-Nov-08 1:23
Colin Angus Mackay16-Nov-08 1:23 
QuestionStored Procedure as DataSource of DataGrid Pin
swjam15-Nov-08 23:48
swjam15-Nov-08 23:48 
AnswerRe: Stored Procedure as DataSource of DataGrid - Answer Pin
swjam16-Nov-08 0:34
swjam16-Nov-08 0:34 
Questionswitch between ip's of a server at a priod of time automatically? Pin
mr.mohsen15-Nov-08 21:32
mr.mohsen15-Nov-08 21:32 
AnswerRe: switch between ip's of a server at a priod of time automatically? Pin
Mycroft Holmes16-Nov-08 15:35
professionalMycroft Holmes16-Nov-08 15:35 
QuestionSwitch Behavior in C# Pin
Veldrain15-Nov-08 20:46
Veldrain15-Nov-08 20:46 
AnswerRe: Switch Behavior in C# Pin
Wendelius15-Nov-08 23:51
mentorWendelius15-Nov-08 23:51 
Goto is an unconditional jump to a label so the switch condition is not evaluated, just the jump is executed.

If I remember correctly, goto keyword is defined in the earliest C# specification so it's not new in C# 3.0.

Although it makes jumping easy, I would try to avoid using goto statements since they make reading the code harder and more vulnerable to logic errors.

The need to optimize rises from a bad design.

My articles[^]

GeneralRe: Switch Behavior in C# Pin
Veldrain16-Nov-08 8:41
Veldrain16-Nov-08 8:41 
AnswerRe: Switch Behavior in C# Pin
Dave Kreskowiak16-Nov-08 5:00
mveDave Kreskowiak16-Nov-08 5:00 
GeneralRe: Switch Behavior in C# Pin
Mark Churchill16-Nov-08 12:59
Mark Churchill16-Nov-08 12:59 
GeneralRe: Switch Behavior in C# Pin
Mycroft Holmes16-Nov-08 15:39
professionalMycroft Holmes16-Nov-08 15:39 
GeneralRe: Switch Behavior in C# Pin
Mark Churchill16-Nov-08 16:01
Mark Churchill16-Nov-08 16:01 
GeneralRe: Switch Behavior in C# Pin
Mycroft Holmes16-Nov-08 17:19
professionalMycroft Holmes16-Nov-08 17:19 
GeneralRe: Switch Behavior in C# Pin
Mark Churchill16-Nov-08 17:32
Mark Churchill16-Nov-08 17:32 
Questioncomparing two datasets Pin
Melanie Booysen15-Nov-08 19:48
Melanie Booysen15-Nov-08 19:48 
AnswerRe: comparing two datasets Pin
Dave Kreskowiak16-Nov-08 4:58
mveDave Kreskowiak16-Nov-08 4:58 
QuestionTrusted & Digitially signed Files Pin
123pips15-Nov-08 10:00
123pips15-Nov-08 10:00 
QuestionTheadPool hanhs in release Pin
baranils15-Nov-08 6:33
baranils15-Nov-08 6:33 
Questiona password riddle Pin
nelsonpaixao15-Nov-08 5:54
nelsonpaixao15-Nov-08 5:54 
RantRe: a password riddle Pin
Vimalsoft(Pty) Ltd15-Nov-08 5:59
professionalVimalsoft(Pty) Ltd15-Nov-08 5:59 
GeneralRe: a password riddle Pin
Paul Conrad15-Nov-08 6:00
professionalPaul Conrad15-Nov-08 6:00 
GeneralRe: a password riddle Pin
Pete O'Hanlon15-Nov-08 11:07
mvePete O'Hanlon15-Nov-08 11:07 
AnswerRe: a password riddle Pin
Paul Conrad15-Nov-08 5:59
professionalPaul Conrad15-Nov-08 5:59 
GeneralRe: a password riddle Pin
Guffa15-Nov-08 14:13
Guffa15-Nov-08 14:13 

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.