c#: what is the point in having a purely public property

Posted by Craig Johnston on Stack Overflow See other posts from Stack Overflow or by Craig Johnston
Published on 2010-05-25T02:24:34Z Indexed on 2010/05/25 2:31 UTC
Read the original article Hit count: 303

Filed under:
|
|

What is the point in having a property inside a class that simply get and sets a member variable?

What practical difference would be there to just making the variable public?

© Stack Overflow or respective owner

Related posts about c#

Related posts about properties