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.

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

Level: Journeyman · More C# terms at this level

Updated

In other subjects