Creating an Infinite Loop.

vishalneeraj-24503
Posted by vishalneeraj-24503 under C# category on | Points: 40 | Views : 534
The typical infinite loop examples are the for and while loops.
For example:-

Using For loop:-
for(;;)
{}


Using While loop:-
while(true)
{}

Comments or Responses

Login to post response