# Loop Counter

*noun*

say it: **“LOOP KOWN-ter”** **/luːp ˈkaʊntər/**

A number variable that counts the passes of a loop or tracks a position, often called i.

## What is **Loop Counter** in C#?

**Loop Counter** — A numeric variable used to track loop repetitions or positions.

```csharp
class Schedule
{
    void MarkDays(bool[] scheduled)
    {
        for (int day = 0; day < scheduled.Length; day++)
        {
            scheduled[day] = true;
        }
    }
}
```

## In a sentence

- “The **loop counter** i went from 0 to 3, one for each quarter.”

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

Updated: November 9, 2026

## In other subjects

- [Loop Counter in Java](https://www.ask-codey.com/glossary/loop-counter)
- [Loop Counter in JavaScript](https://www.ask-codey.com/glossary/loop-counter-javascript)
- [Loop Counter in PowerShell](https://www.ask-codey.com/glossary/loop-counter-powershell)
- [Loop Counter in Unix](https://www.ask-codey.com/glossary/loop-counter-unix)

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