continue
The continue keyword is used to skip the remaining operations of the current loop iteration.
Syntax
continue;
Example Code
for (var int32 i = 0; i < n; ++i)
{
if (shouldContinue)
{
continue;
}
}
foreach (var int32 data in array)
{
if (shouldContinue)
{
continue;
}
}
while (i < n)
{
if (shouldContinue)
{
continue;
}
}
do
{
if (shouldContinue)
{
continue;
}
}
while (i < n);