34,333
edits
Changes
→Creating an Infinite for Loop
== Creating an Infinite for Loop ==
A for loop which will execute an infinite number of times may be construction constructed using ''for (;;;)'' syntax. For example, the following code sample will output ''Hello from C#'' until the program is manually terminated by the user (or the computer is turned off or rebooted):
<pre>