.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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -