Click here to Skip to main content
15,892,674 members
Home / Discussions / C#
   

C#

 
QuestionRe: stack overflow Pin
hotthoughtguy11-May-09 8:18
hotthoughtguy11-May-09 8:18 
AnswerRe: stack overflow Pin
EliottA11-May-09 8:21
EliottA11-May-09 8:21 
GeneralRe: stack overflow Pin
Christian Graus11-May-09 8:22
protectorChristian Graus11-May-09 8:22 
GeneralRe: stack overflow Pin
EliottA11-May-09 8:24
EliottA11-May-09 8:24 
GeneralRe: stack overflow Pin
Vikram A Punathambekar11-May-09 18:45
Vikram A Punathambekar11-May-09 18:45 
AnswerRe: stack overflow Pin
Christian Graus11-May-09 8:22
protectorChristian Graus11-May-09 8:22 
GeneralRe: stack overflow Pin
hotthoughtguy11-May-09 8:33
hotthoughtguy11-May-09 8:33 
GeneralRe: stack overflow Pin
hotthoughtguy11-May-09 8:37
hotthoughtguy11-May-09 8:37 
public void first(Node current)
{
current.parant = null;
current.PreCousion = current.NextCousion = null;
current.childerns = new List<Node>();
current.data = str[0];
for (int i = 1; i < str.Count; i++)
{
if (i == 1)
{
current.childerns.Add(new Node(str[i]));
current.fisrtchild = current.childerns[0];
current.childerns[0].PreCousion = null;
}
else
{
current.childerns.Add(new Node(str[i]));
current.childerns[i - 1].PreCousion = current.childerns[i - 2];
current.childerns[i - 2].NextCousion = current.childerns[i - 1];
}
current.childerns[i - 1].parant = current;
}
}

i know my code is unreadable.
AnswerRe: stack overflow Pin
Luc Pattyn11-May-09 9:13
sitebuilderLuc Pattyn11-May-09 9:13 
Questionproxy server Pin
yogesh_softworld12311-May-09 7:41
yogesh_softworld12311-May-09 7:41 
QuestionButtons and form show and close Pin
Star0911-May-09 7:30
Star0911-May-09 7:30 
QuestionRe: Buttons and form show and close Pin
harold aptroot11-May-09 7:32
harold aptroot11-May-09 7:32 
GeneralRe: Buttons and form show and close Pin
Star0911-May-09 7:51
Star0911-May-09 7:51 
GeneralRe: Buttons and form show and close Pin
harold aptroot11-May-09 8:12
harold aptroot11-May-09 8:12 
AnswerRe: Buttons and form show and close Pin
DaveyM6911-May-09 7:52
professionalDaveyM6911-May-09 7:52 
GeneralRe: Buttons and form show and close Pin
Star0911-May-09 7:55
Star0911-May-09 7:55 
Questionerror when created new datasource Pin
dotnetdev8111-May-09 7:18
dotnetdev8111-May-09 7:18 
Questionstack overflow Pin
hotthoughtguy11-May-09 6:21
hotthoughtguy11-May-09 6:21 
QuestionRe: stack overflow Pin
Ian McCaul11-May-09 6:26
Ian McCaul11-May-09 6:26 
AnswerRe: stack overflow Pin
J4amieC11-May-09 6:34
J4amieC11-May-09 6:34 
AnswerRe: stack overflow Pin
Dan Neely11-May-09 6:56
Dan Neely11-May-09 6:56 
AnswerRe: stack overflow Pin
Dave Kreskowiak11-May-09 7:00
mveDave Kreskowiak11-May-09 7:00 
GeneralRe: stack overflow Pin
hotthoughtguy11-May-09 7:12
hotthoughtguy11-May-09 7:12 
GeneralRe: stack overflow Pin
Luc Pattyn11-May-09 7:27
sitebuilderLuc Pattyn11-May-09 7:27 
GeneralRe: stack overflow Pin
hotthoughtguy11-May-09 7:40
hotthoughtguy11-May-09 7:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.