I need to stop "for" cycle before it ends by itself. I have one "for" cycle in other. Here is my code(a simple example):
for (int i = 0; i < 100; i++)
{
for (int j = 0; j < 10; j++)
{
if (i == 5)
{
//stop "for" cycle
}
}
}
I want to stop the "for" cycle which is inside without stopping outside one. Which command should I use to manage that?