# Getter

*noun*

say it: **“GET-er”** **/ˈɡɛtər/**

The get part of a property, which runs when code reads the value.

## What is **Getter** in C#?

**Getter** — A method that returns an object's stored value.

```csharp
class Thermostat
{
    public int Temperature
    {
        get;
        set;
    }
}
```

## In a sentence

- “The **getter** for FullName joins the first and last name.”

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

Updated: November 9, 2026

## In other subjects

- [Getter in Java](https://www.ask-codey.com/glossary/getter)
- [Getter in JavaScript](https://www.ask-codey.com/glossary/getter-javascript)
- [Getter in OOP](https://www.ask-codey.com/glossary/getter-oop)

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