// Automatic backing field with custom logic
public string Name
{
get => field;
set => field = value?.Trim() ?? string.Empty;
}
Ah so it's a way to access the backing field of Auto-Implemented Properties if you need more logic. And in the above can we just say: get;
or do you need to refer to the field keyword explicitly in the getter if we use it in the setter?
I remember his patience with Maurice and others was exemplary, almost to a fault. Maybe he was more forgiving of others because he was incarcerated earlier in life, I don't know. In one episode he finally loses his cool with a builder who has completely bodged the decking and plumbing outside his caravan in a hilarious way, but even then he manages to stay calm and polite when firing him.