4, cycling

break statement terminates loop or switch statement, program flow will continue to the next statement followed the loop or switch.
continue loop statement causes skip the rest of the body, immediately restart the test conditions.
using System;

namespace Loops
{

class Program
{
    static void Main(string[] args)
    {
        for (; ; )
        {
            Console.WriteLine("Hey! I am Trapped");
        }

    }
}

}

Guess you like

Origin www.cnblogs.com/liang-xp/p/11571744.html