Click here to Skip to main content
15,913,239 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# coding standards Pin
pmarfleet6-Oct-07 8:06
pmarfleet6-Oct-07 8:06 
GeneralRe: C# coding standards Pin
GuyThiebaut6-Oct-07 8:19
professionalGuyThiebaut6-Oct-07 8:19 
GeneralRe: C# coding standards Pin
pmarfleet6-Oct-07 8:26
pmarfleet6-Oct-07 8:26 
GeneralRe: C# coding standards Pin
Scott Dorman7-Oct-07 10:43
professionalScott Dorman7-Oct-07 10:43 
AnswerRe: C# coding standards Pin
Guffa6-Oct-07 9:40
Guffa6-Oct-07 9:40 
GeneralRe: C# coding standards Pin
GuyThiebaut6-Oct-07 10:06
professionalGuyThiebaut6-Oct-07 10:06 
AnswerRe: C# coding standards Pin
Scott Dorman7-Oct-07 10:46
professionalScott Dorman7-Oct-07 10:46 
GeneralRe: C# coding standards Pin
GuyThiebaut7-Oct-07 10:55
professionalGuyThiebaut7-Oct-07 10:55 
Thanks,

I get what you are saying regarding bracketting.

In some of the procedural languages I have programmed I have seen people using what are called "in-line ifs".
I have always avoided them, unless there is no other solution, for precisely this reason - the logic can be misunderstood or lost and new code added can cause all sorts of problems at testing (we do all test code don't we...).

Thanks for the reference.
I will look at this.
As you say standards need to be flexible as in my experience some businesses have their own in house rules on coding standards.
When I was trained in COBOL (no I'm not a Grandfather yet...) the trainers would get a ruler and measure code indentation, to the centimetre, on our code printouts Roll eyes | :rolleyes:

You always pass failure on the way to success.

QuestionInvoke Bug??? Pin
udikantz6-Oct-07 6:32
udikantz6-Oct-07 6:32 
AnswerRe: Invoke Bug??? Pin
lmoelleb6-Oct-07 6:36
lmoelleb6-Oct-07 6:36 
GeneralRe: Invoke Bug??? Pin
udikantz6-Oct-07 6:45
udikantz6-Oct-07 6:45 
QuestionOperator Overloading Pin
sinha@c#6-Oct-07 6:12
sinha@c#6-Oct-07 6:12 
AnswerRe: Operator Overloading Pin
lmoelleb6-Oct-07 6:24
lmoelleb6-Oct-07 6:24 
AnswerRe: Operator Overloading Pin
Pete O'Hanlon7-Oct-07 10:38
mvePete O'Hanlon7-Oct-07 10:38 
AnswerRe: Operator Overloading Pin
Scott Dorman7-Oct-07 10:47
professionalScott Dorman7-Oct-07 10:47 
QuestionHow to determine best possible combination to a C# ListArray? Pin
humblepgmr6-Oct-07 4:10
humblepgmr6-Oct-07 4:10 
AnswerRe: How to determine best possible combination to a C# ListArray? Pin
humblepgmr6-Oct-07 4:47
humblepgmr6-Oct-07 4:47 
AnswerRe: How to determine best possible combination to a C# ListArray? Pin
Guffa6-Oct-07 6:25
Guffa6-Oct-07 6:25 
AnswerRe: How to determine best possible combination to a C# ListArray? Pin
lmoelleb6-Oct-07 6:33
lmoelleb6-Oct-07 6:33 
QuestionFinalize and Dispose Pin
Blumen6-Oct-07 2:29
Blumen6-Oct-07 2:29 
AnswerRe: Finalize and Dispose Pin
Simon P Stevens6-Oct-07 2:47
Simon P Stevens6-Oct-07 2:47 
GeneralRe: Finalize and Dispose Pin
Blumen6-Oct-07 3:39
Blumen6-Oct-07 3:39 
AnswerRe: Finalize and Dispose Pin
Guffa6-Oct-07 4:12
Guffa6-Oct-07 4:12 
AnswerRe: Finalize and Dispose Pin
Abhijit Jana6-Oct-07 2:49
professionalAbhijit Jana6-Oct-07 2:49 
AnswerRe: Finalize and Dispose Pin
Scott Dorman7-Oct-07 10:52
professionalScott Dorman7-Oct-07 10:52 

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.