[Mono-list] what structure should I use
Malte Dreschert
draetsch at gmx.de
Wed Feb 1 17:12:20 EST 2006
Hi,
I have a slight problem with a program I want to write.
I want to read a textfile that contains the description of a hierarchy.
The hierarchy has nodes, which hae certain Attributes like name,
parentnode, translation and orientation. What is the best way to store
this kind of information? I was wondering if I can create a class (ie.
"node"), that has the Attributes as Members. I want to create an Object
of the class for each node in the file with the correct attributes and
store these Objects in an array. But I don't know if this is possible
and a smart thing to do.
Perhaps someone can give me a hint on how to do such a thing effectivley.
Thanks for your help.
More information about the Mono-list
mailing list