what are getters and setters in c#?
In the getter you get a value, and in the setter you set it. Don't confuse the two." Replace getter and setter methods with corresponding properties. The property's name should be the same as its originating methods, but without "Get" and "Set".