using System;
class Program
{
static void Main() {
int[] arr = { 6, 8, 2, 1, 0 };
foreach (int n in arr) {
if (n == 99)
goto Found;
}
Console.WriteLine("Not found");
goto Finish;
Found:
Console.WriteLine("Found");
Finish:
Console.WriteLine("End of program");
}
}
/*
run:
Not found
End of program
*/