# Property

A member that exposes a value through get and set accessors.

## What is **Property** in C#?

**Property** — A member that exposes a value through get and set accessors.

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

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

Updated: September 27, 2026

## In other subjects

- [Property in CSS](https://www.ask-codey.com/glossary/property-css-2)
- [Property in JavaScript](https://www.ask-codey.com/glossary/property-javascript)
- [Property in OOP](https://www.ask-codey.com/glossary/property-oop)

Source: https://www.ask-codey.com/glossary/property
