# continue

A statement that skips the rest of the current loop repetition.

## What does **continue** do in C#?

**continue** — A statement that skips the rest of the current loop repetition.

```csharp
class NumberFinder
{
    int FirstOdd(int[] numbers)
    {
        foreach (int number in numbers)
        {
            if (number % 2 == 0)
            {
                continue;
            }

            return number;
        }

        return -1;
    }
}
```

Level: Apprentice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/apprentice)

Updated: September 27, 2026

## In other subjects

- [continue in Java](https://www.ask-codey.com/glossary/continue-java)
- [continue in JavaScript](https://www.ask-codey.com/glossary/continue-javascript)

Source: https://www.ask-codey.com/glossary/continue-c-sharp
