Properties vs Public member variables [duplicate]
Possible Duplicate: What is the difference between a field and a property in C# I'm a beginning programmer and I've read all about class properties. Books state that properties allow you to indirectly access member variables. Ok, so what makes it any different than just making the field public and accessing it directly? Here's a quote from Learning C# 3.0 by Jesse Liberty: For example, you might want external classes to be able to read a value, but not change it; or you might want to write some code so that the internal field can accept only values in a certain range. If you grant external