Creating a Tree data structure

  • Thread starter Thread starter Jalil Sear [MCPD SharePoint]
  • Start date Start date
J

Jalil Sear [MCPD SharePoint]

Guest
Hi,

I need to create a tree data structure using c#.

I need to be able to add children to the structure, have a method that will retrieve all of the decendants for a given node in the tree and another method that will retrieve the parent hierarchy for a given node (i.e. will iterate upwards until it reaches the root).

I know there are a lot of ways of doing this but wanted to get an idea of how most of you would go about solving this problem.

Visit my blog Jalil Sear's [MCPD SharePoint 2010] Weblog

Continue reading...
 
Back
Top