首页 > 其他分享 >求大神解答

求大神解答

时间:2022-11-08 16:34:02浏览次数:42  
标签:aa 大神 cla pub str 解答

<root>
<a>
<a1></a1>
<a2></a2>
</a>
<a>
<a3></a3>
<a4></a4>
<a5></a5>
</a>
</root>

 

C#中这种xml格式应该怎么声明实例进行序列化呀,求大神解答

public class root

{

pub a a = new a();

[system.xml.services.xmlelectarribute(a)]

pub aa aa = new aa();

}

pub cla a

{

pub str a1

pub str a2

}

pub cla aa

{

pub str a3

pub str a4

pub str a5

}

这样好像不行,求解

标签:aa,大神,cla,pub,str,解答
From: https://www.cnblogs.com/wlh-/p/16870141.html

相关文章