.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
Post a Comment