using System;
class MainClass
{
public static void Main()
public static void Main(string[] args)
OnCheckLoopBreak();
}
public static void OnCheckLoopsBreak()
int TimerFullStop = 0;
int UpdatedNumber = 1;
while (TImerFullStop != 0)
UpdatedNumber ++ ; // add to UpdatedNumber for every loops
Console.WriteLine(UpdatedNumber);
//check to see if limit is hit
if(UpdatedNumber <= 6)
break;
public static void Opt()
int myVar = 0;
Console.WriteLine(myVar +=1);