Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Method vs. Property
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01058026
Message ID:
01058056
Vues:
18
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
Fil
Voir

Click here to load this message in the networking platform