Encapsulation is obviously helpful and essential when accessing members from outside the class, but when referring to class variables internally, is it better to call their
The benefit would be in the cases where there was validation to be done on the Get or Set. This would be in one place and always called.
As far as I know (from other questions asked on Stack Overflow) when the Getter simply returns the value the code generated is the same as for accessing the variable directly.