for (int i = 0; i < this.TreeView1.Nodes.Count; i++) { }or is it more efficient (faster) to do:
int nCount = this.TreeView1.Nodes.Count; for (int i = 0; i < nCount; i++) { }Granted, in a short loop it does not really matter as the time differences would be measured in microseconds but the principle of the thing is what I'm looking for.