0
Answer

Changing functions name in aloop

Ask a question

Hello
 
I am writing an algorithm that analyzes a database of electirc lines and puts them into a tree.  I am told that i wont be able to change the nodes name in my loop like this.
while (l != 5)
{

SimpleTreeNode<string> k[l] = k[l-1].Children.Add(temp2[1]);
l++;
}
 
So for example we would get second assigned to first and third assigned to third.  Any thoughts of how i am able to do that.
 
Johannes