Tag Info

New answers tagged


Not sure why you'd have a public member, unless it was static, const, readonly, etc. I think public properties should always be preferred to public members; if you need to make changes to a public member, or whatever reason, it will mean any extant calls outside the class would need to be updated. Properties offer another layer to change things internally ...

Top 50 recent answers are included