Adding elements to an xml file in C#

前端 未结 7 1126
名媛妹妹
名媛妹妹 2020-11-27 19:00

I have an XML file formatted like this:


  
    
      testcode1
    
  &l         


        
7条回答
  •  星月不相逢
    2020-11-27 19:30

    Id be inclined to create classes that match the structure and add an instance to a collection then serialise and deserialise the collection to load and save the document.

提交回复
热议问题