Hi Ahmed,
Just use a boolean Flag - easy, extensible (you can repeat the pattern with any loop "nesting-depth".
bool bBreak = false; ;
for (int i = 0; i < 10; i++)
{
for (int i = 0; i < 20; i++)
{
if (i == 3)
{
bBreak = true;
break;
}
}
if (bBreak)
break;
}