Click here to Skip to main content
15,919,358 members
Home / Discussions / C#
   

C#

 
GeneralRe: odd numbers Pin
OriginalGriff24-Feb-10 4:56
mveOriginalGriff24-Feb-10 4:56 
GeneralRe: odd numbers Pin
harold aptroot24-Feb-10 1:51
harold aptroot24-Feb-10 1:51 
GeneralRe: odd numbers Pin
Morgs Morgan24-Feb-10 1:59
Morgs Morgan24-Feb-10 1:59 
GeneralRe: odd numbers Pin
harold aptroot24-Feb-10 2:09
harold aptroot24-Feb-10 2:09 
AnswerRe: odd numbers Pin
PIEBALDconsult24-Feb-10 3:46
mvePIEBALDconsult24-Feb-10 3:46 
AnswerRe: odd numbers Pin
Luc Pattyn24-Feb-10 4:29
sitebuilderLuc Pattyn24-Feb-10 4:29 
AnswerRe: odd numbers Pin
Un Known Legend24-Feb-10 5:24
Un Known Legend24-Feb-10 5:24 
GeneralRe: odd numbers Pin
harold aptroot24-Feb-10 5:31
harold aptroot24-Feb-10 5:31 
I can not agree with this way of solving the problem, not because of the performance (WriteLine pwns the rest anyway) but looping over all numbers only to skip the even ones is just silly - and if you were to do it like this anyway, I'd really prefer (i & 1) == 1, that's probably a very personal preference but IMO that expression makes it easier to see that it's testing for "i is odd"
JokeRe: odd numbers Pin
PIEBALDconsult24-Feb-10 9:07
mvePIEBALDconsult24-Feb-10 9:07 
AnswerRe: odd numbers Pin
Morgs Morgan24-Feb-10 9:41
Morgs Morgan24-Feb-10 9:41 
QuestionCapture Windows Service Ouput in C# Pin
Abdul Rahman Hamidy24-Feb-10 0:44
Abdul Rahman Hamidy24-Feb-10 0:44 
AnswerMessage Closed Pin
24-Feb-10 1:40
stancrm24-Feb-10 1:40 
GeneralRe: Capture Windows Service Ouput in C# Pin
Abdul Rahman Hamidy24-Feb-10 17:31
Abdul Rahman Hamidy24-Feb-10 17:31 
Questionmaking a windoows from in C# for generating a 2D Matrix Pin
Iman Mohtashemi24-Feb-10 0:37
Iman Mohtashemi24-Feb-10 0:37 
AnswerRe: making a windoows from in C# for generating a 2D Matrix Pin
Richard MacCutchan24-Feb-10 1:18
mveRichard MacCutchan24-Feb-10 1:18 
QuestionQuestion Regarding VS 3.5 version Pin
Tridip Bhattacharjee24-Feb-10 0:14
professionalTridip Bhattacharjee24-Feb-10 0:14 
AnswerRe: Question Regarding VS 3.5 version Pin
Pete O'Hanlon24-Feb-10 0:36
mvePete O'Hanlon24-Feb-10 0:36 
GeneralRe: Question Regarding VS 3.5 version Pin
Richard MacCutchan24-Feb-10 3:28
mveRichard MacCutchan24-Feb-10 3:28 
GeneralRe: Question Regarding VS 3.5 version Pin
Pete O'Hanlon24-Feb-10 3:50
mvePete O'Hanlon24-Feb-10 3:50 
AnswerRe: Question Regarding VS 3.5 version Pin
PIEBALDconsult24-Feb-10 9:15
mvePIEBALDconsult24-Feb-10 9:15 
QuestionC# No-Wait Flowshop gantt algorithms Pin
abdullahguclu23-Feb-10 23:38
abdullahguclu23-Feb-10 23:38 
AnswerRe: C# No-Wait Flowshop gantt algorithms Pin
OriginalGriff23-Feb-10 23:50
mveOriginalGriff23-Feb-10 23:50 
AnswerCorrecting a misconception Pin
Pete O'Hanlon23-Feb-10 23:58
mvePete O'Hanlon23-Feb-10 23:58 
QuestionDateTime convertion Pin
salmonraju23-Feb-10 23:35
salmonraju23-Feb-10 23:35 
AnswerRe: DateTime convertion Pin
OriginalGriff23-Feb-10 23:47
mveOriginalGriff23-Feb-10 23:47 

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.