Sorry we have interrupted your daily blog reading, but we have a special service announcement for all developers.
Only make properties public on an object when you KNOW they are needed. Please make all properties private by default.
If you need to access the property from outside your object, make the getter public and leave the setter private.
Only open up the setter when you KNOW it is needed, this should be a last resort option.
Till next time,
01-12-2008 12:59 PM