# Implicitly Typed Variable

A local variable declared with var whose type is determined at compile time.

## What is **Implicitly Typed Variable** in C#?

**Implicitly Typed Variable** — A local variable declared with var whose type is determined at compile time.

```csharp
class Game
{
    void UpdateScore()
    {
        int score = 10;
        score = score + 5;
    }
}
```

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

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/implicitly-typed-variable
