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.
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
Updated