Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property vs. Method
Message
 
 
À
15/10/2008 11:14:39
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01354904
Message ID:
01355151
Vues:
24
>>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform