Getter

A method that returns an object's stored value.

What is Getter in C#?

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

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

Level: Journeyman · More C# terms at this level

Updated

In other subjects