Click here to Skip to main content
16,007,050 members
Home / Discussions / C#
   

C#

 
GeneralRe: Send Javascript command to IE Pin
Chris Chavez18-Jan-05 3:27
sussChris Chavez18-Jan-05 3:27 
GeneralRe: Send Javascript command to IE Pin
Heath Stewart18-Jan-05 6:05
protectorHeath Stewart18-Jan-05 6:05 
GeneralRe: Send Javascript command to IE Pin
Chris Chavez19-Jan-05 5:09
sussChris Chavez19-Jan-05 5:09 
GeneralEthical Coding Style Pin
Wayne Phipps14-Jan-05 8:22
Wayne Phipps14-Jan-05 8:22 
GeneralRe: Ethical Coding Style Pin
Christian Graus14-Jan-05 8:28
protectorChristian Graus14-Jan-05 8:28 
GeneralRe: Ethical Coding Style Pin
Wayne Phipps14-Jan-05 8:41
Wayne Phipps14-Jan-05 8:41 
GeneralRe: Ethical Coding Style Pin
Christian Graus14-Jan-05 9:07
protectorChristian Graus14-Jan-05 9:07 
GeneralRe: Ethical Coding Style Pin
Wayne Phipps14-Jan-05 23:12
Wayne Phipps14-Jan-05 23:12 
Thanks for your comments, they all make sense.

However I wrote a simple method to demonstrate multiple and single exit points from the method not the simple evaluation of an integer.

Some methods become much more complicated when using nested if or switch statements and it appears very easy to end up with multiple exit points which make the method difficult to follow and debug.

I try to avoid this wherever possible but just wanted other opinions on best practices.


Regards

Wayne Phipps
____________

Time is the greatest teacher... unfortunately, it kills all of its students
LearnVisualStudio.Net

GeneralRe: Ethical Coding Style Pin
Christian Graus15-Jan-05 9:45
protectorChristian Graus15-Jan-05 9:45 
GeneralAngle between 2 vectors Pin
flipper8614-Jan-05 7:30
flipper8614-Jan-05 7:30 
GeneralRe: Angle between 2 vectors Pin
Dave Kreskowiak14-Jan-05 7:49
mveDave Kreskowiak14-Jan-05 7:49 
QuestionHow do you determine MSAccess version? Pin
Hostia14-Jan-05 5:12
Hostia14-Jan-05 5:12 
AnswerRe: How do you determine MSAccess version? Pin
Rob Graham14-Jan-05 11:50
Rob Graham14-Jan-05 11:50 
GeneralProblems reading through XML file with XPathNavigator and XPathNodeIterator Pin
huckfinn14-Jan-05 4:57
huckfinn14-Jan-05 4:57 
GeneralRe: Problems reading through XML file with XPathNavigator and XPathNodeIterator Pin
leppie14-Jan-05 5:55
leppie14-Jan-05 5:55 
GeneralCOM in C# (regarding MSMQ) Pin
Esmo200014-Jan-05 4:44
Esmo200014-Jan-05 4:44 
GeneralExtracting Data From Text Files Pin
lizim14-Jan-05 3:52
lizim14-Jan-05 3:52 
GeneralRe: Extracting Data From Text Files Pin
Nick Parker14-Jan-05 4:09
protectorNick Parker14-Jan-05 4:09 
GeneralRe: Extracting Data From Text Files Pin
lizim14-Jan-05 4:17
lizim14-Jan-05 4:17 
GeneralRe: Extracting Data From Text Files Pin
Wayne Phipps14-Jan-05 22:59
Wayne Phipps14-Jan-05 22:59 
Generalmetafiles - physical dimensions in mm Pin
jadamcrain14-Jan-05 3:47
jadamcrain14-Jan-05 3:47 
GeneralDistribute separate forms Pin
Jassim Rahma14-Jan-05 3:34
Jassim Rahma14-Jan-05 3:34 
GeneralRe: Distribute separate forms Pin
Nick Parker14-Jan-05 4:04
protectorNick Parker14-Jan-05 4:04 
GeneralUSB Printer Pin
Peter Beedell14-Jan-05 1:13
Peter Beedell14-Jan-05 1:13 
GeneralRe: USB Printer Pin
Dave Kreskowiak14-Jan-05 4:49
mveDave Kreskowiak14-Jan-05 4:49 

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.