Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic C# question
Message
From
06/07/2006 04:24:11
 
 
To
05/07/2006 14:19:30
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01133939
Message ID:
01134057
Views:
17
Hi,

>I would use the second one because I think (I'm not sure) that otherwise it would be checked each time (this.TreeView1.Nodes.Count).

A quick look using ILDASM seems to indicate this is correct - there's a 'callvirt' inside the loop...
Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform