Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property vs. Method
Message
 
 
To
15/10/2008 11:14:39
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01354904
Message ID:
01355151
Views:
28
>>The age old questions. Should I use a property or a method? Is one faster than the other?
>
>From Tracy's link:
>
>In general, methods represent actions and properties represent data.
>
>Rarely stray from the generalization. That way, in general a property will be faster than a method as there is no cumbersome execution likely to occur.

What do methods act on? Nothing?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform