Statement break berfungsi untuk keluar dari statement for, while, do dan switch yang pernah dibahas sebelumnya.
Contoh :
using System;
class ContohBreak
{
public static void Main()
{
for (int i=0; i<10; i++)
{
Console.WriteLine(“i=” + i);
if (i==5) break;
}
Console.ReadLine();
}
}