Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF conditional coding
Message
De
06/09/2005 18:29:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/09/2005 12:39:26
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01046886
Message ID:
01047196
Vues:
11
>That is one of my pet peeves ... people who do NOT use "this". The use of "this" makes it quite simple to tell the difference between a variable scoped to the whole control vs one scoped to the method. IMHO, one should always use "this".

Lemme see - I am still new to programming in .NET Do you mean that This.Variable would cause an error for variables declared at the method level?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform