[Mono-list] what structure should I use

giovanni francesco lucchese giovannifrancescolucchese at gmail.com
Thu Feb 2 06:05:53 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.


Personally, I would use the class System.Xml.XmlNode.....


--
Giovanni Francesco Lucchese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060202/5d0bd36d/attachment.html


More information about the Mono-list mailing list