Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie syntax question
Message
De
22/09/2010 04:27:46
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01482146
Message ID:
01482265
Vues:
56
>>No, there is no requirement to do this - you can access it directly. I'll sometimes assign it to a variable because it's a bit easier to >>test/view it in the debugger or (in loops, like your example) to avoid the overhead of hitting the property multiple times (it's faster to >>hold a reference directly to it in that case).

Thanks Paul,

That makes total sense.

Gary.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform