Hi,

I have a treeView control, to which i add treenodes at runtime.
How can i implement a for each loop as in

for each (TreeNode^ a in treeVie1->subnode....){
....
}

if "subnode" doesnt exist when compiling the program?