XML to C# Class Question

前端 未结 7 1280
走了就别回头了
走了就别回头了 2020-12-17 01:07

Can someone please help me, I have this xml snippet



  123

        
相关标签:
7条回答
  • 2020-12-17 01:40

    Bare minimum working... looks like you are only required to add one attribute.

    public class EmailConfiguration
    {
        public string DataBoxID { get; set; }
        public DefaultSendToAddressCollectionClass DefaultSendToAddressCollection { get; set; }
    }
    
    public class DefaultSendToAddressCollectionClass
    {
        [XmlElement]
        public string[] EmailAddress { get; set; }
    }
    
    0 讨论(0)
提交回复
热议问题