Working in C#. I need a simple tree data type to store some objects.
Is there a native windows libraries tree data type?
I've looked in System.Collections.Generic but couldn't find anything.
Tried Googling it, all I see is custom built trees.
Working in C#. I need a simple tree data type to store some objects.
Is there a native windows libraries tree data type?
I've looked in System.Collections.Generic but couldn't find anything.
Tried Googling it, all I see is custom built trees.
No, There isn't a tree data type in .Net
for two reasons:
TreeNode
class that references 2 or more TreeNode
children. Maybe add a Tree class to hold them. That's all.