+ 2
How do i make a c# class transfer to an xml file and vice versa? Using primitive variables (int, float, string)
C# Class to XML
1 Odpowiedź
0
I would recommend you to use the xml-deserializer library, there is plenty documentation about it. But in case you want to do it manually, you could try to read the xml file and map the tags by yourself, the disadvantage is that you will have to use a predefined xml file, but with the xml-deserializer you can till certain point make this dynamically.