.net - infinite loop example with minimum code in c# -


can give me infinite loop example on c# minimum code? came thought there more easier way.

the typical examples , while loops. example

for(;;) {} 

and

while(true) {} 

however, looping construct without break or terminating condition loop infinitely. different developers have different opinions on style best. additionally, context may sway method choose.

hth


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -