Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method vs. Property
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01058026
Message ID:
01058056
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform