# Increment Operator

*noun*

say it: **“IN-kruh-ment OP-er-ay-ter”** **/ˈɪŋkrəmənt ˈɒpəreɪtər/**

The ++ operator, which adds one to a number variable.

## What does **Increment Operator** do in C#?

**Increment Operator** — The ++ operator, which adds one to a numeric variable.

```csharp
class Bakery
{
    int CookiesPerGuest(int cookies)
    {
        cookies++;
        return cookies / 2;
    }
}
```

## In a sentence

- “The loop uses the **increment operator**, count++, after each book.”

Level: Novice · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=1)

Updated: November 9, 2026

## In other subjects

- [Increment Operator in Java](https://www.ask-codey.com/glossary/increment-operator)
- [Increment Operator in JavaScript](https://www.ask-codey.com/glossary/increment-operator-javascript)

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