Click here to Skip to main content
15,920,687 members
Home / Discussions / C#
   

C#

 
JokeRe: for (;;) Pin
Bassam Saoud19-Aug-08 15:10
Bassam Saoud19-Aug-08 15:10 
GeneralRe: for (;;) Pin
Stephen Hewitt19-Aug-08 16:14
Stephen Hewitt19-Aug-08 16:14 
JokeRe: for (;;) Pin
Bassam Saoud19-Aug-08 16:16
Bassam Saoud19-Aug-08 16:16 
GeneralRe: for (;;) Pin
Mark Churchill19-Aug-08 20:55
Mark Churchill19-Aug-08 20:55 
GeneralRe: for (;;) Pin
Guffa21-Aug-08 22:35
Guffa21-Aug-08 22:35 
AnswerRe: for (;;) Pin
Mohammad Dayyan19-Aug-08 15:14
Mohammad Dayyan19-Aug-08 15:14 
AnswerRe: for (;;) Pin
Bassam Saoud19-Aug-08 15:14
Bassam Saoud19-Aug-08 15:14 
GeneralRe: for (;;) Pin
chaiguy133719-Aug-08 16:05
chaiguy133719-Aug-08 16:05 
Infinite loops are legitimate for certain things, especially when implementing threads and stuff that need to continuously run and wait (i.e. actually block, thus not using the cpu) for things.

Personally I prefer while ( true ) because it's more obvious what it is.

“Time and space can be a bitch.”
–Gushie, Quantum Leap

{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’)            Built with home-grown CodeProject components!
-”-”-

GeneralRe: for (;;) Pin
Stephen Hewitt19-Aug-08 16:16
Stephen Hewitt19-Aug-08 16:16 
GeneralRe: for (;;) Pin
chaiguy133719-Aug-08 16:16
chaiguy133719-Aug-08 16:16 
GeneralRe: for (;;) Pin
Joe Woodbury19-Aug-08 18:40
professionalJoe Woodbury19-Aug-08 18:40 
GeneralRe: for (;;) Pin
chaiguy133719-Aug-08 18:43
chaiguy133719-Aug-08 18:43 
GeneralRe: for (;;) Pin
Joe Woodbury19-Aug-08 19:26
professionalJoe Woodbury19-Aug-08 19:26 
GeneralRe: for (;;) Pin
MarkB77719-Aug-08 17:13
MarkB77719-Aug-08 17:13 
GeneralRe: for (;;) Pin
Stephen Hewitt19-Aug-08 18:01
Stephen Hewitt19-Aug-08 18:01 
GeneralRe: for (;;) Pin
Colin Angus Mackay19-Aug-08 21:30
Colin Angus Mackay19-Aug-08 21:30 
GeneralRe: for (;;) Pin
MarkB77720-Aug-08 1:29
MarkB77720-Aug-08 1:29 
GeneralRe: for (;;) Pin
Mark Churchill19-Aug-08 21:04
Mark Churchill19-Aug-08 21:04 
GeneralRe: for (;;) Pin
chaiguy133720-Aug-08 9:01
chaiguy133720-Aug-08 9:01 
GeneralRe: for (;;) Pin
MarkB77719-Aug-08 17:13
MarkB77719-Aug-08 17:13 
GeneralRe: for (;;) Pin
Bassam Saoud19-Aug-08 17:15
Bassam Saoud19-Aug-08 17:15 
AnswerRe: for (;;) Pin
Paul Conrad19-Aug-08 19:47
professionalPaul Conrad19-Aug-08 19:47 
AnswerRe: for (;;) Pin
leppie19-Aug-08 23:08
leppie19-Aug-08 23:08 
QuestionSomeone Explain Delegates To Me Pin
Kevin Marois19-Aug-08 11:07
professionalKevin Marois19-Aug-08 11:07 
AnswerRe: Someone Explain Delegates To Me Pin
Guffa19-Aug-08 11:14
Guffa19-Aug-08 11:14 

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.