[Mono-list] what structure should I use

Pierre Chicourrat pierre_chicourrat at silogix-fr.com
Thu Feb 2 08:02:10 EST 2006


Personnally I would use an XML file an serialising the class you want to use to represent your data.

Regards
Pierre Chicourrat
    Tel. : 01 47 68 47 48
    Fax. : 01 47 68 47 46

---------- Original Message ----------------------------------
From: giovanni francesco lucchese <giovannifrancescolucchese at gmail.com>
Date:  Thu, 2 Feb 2006 12:05:53 +0100

>>
>> 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
>
>
>
 
             


More information about the Mono-list mailing list