Properties — the basics
Properties in C# is a special type of methods called accessors, they are accessed as if they are public member fields but with read, write and compute the value.
Is is declared like a field but with a get and set blocks inside, get is to read the property value…