XML Serialization structure

前端 未结 2 1452
说谎
说谎 2021-01-26 05:18

Apologies on not being able to phrase the title more specifically but I can only explain by giving an example.

I\'m trying to build a class that serializes to the follow

2条回答
  •  花落未央
    2021-01-26 05:48

    public class Customize
    {
        [XmlElement("Content")]
        public List Content { get; set; }
    
        [XmlElement("Command")]
        public List Command { get; set; }
    }
    

提交回复
热议问题