Erin
In my opinion, it would depend on the 'logic' behind the property/method. If you're just going to be storing a value, or setting another property based on the parameter, then I'd use a property. If it's more complex than that (decisions need to be made based on the parameter values), then I'd say a method was more in order.
Again, just my opinion.
Scott
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement