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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only