Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF conditional coding
Message
From
06/09/2005 18:29:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/09/2005 12:39:26
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01046886
Message ID:
01047196
Views:
12
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform