# Property

*noun*

say it: **“PROP-er-tee”** **/ˈprɒpərti/**

A class member that looks like a field from outside but runs get and set code when it is read or changed.

## 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;
    }
}
```

## In a sentence

- “Price is a **property** that refuses negative values in its set.”

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

- [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
