I have a question about deserialization. It s a part of xml file
<N Name="MyName">Number of MyName</N>
c类:
MyN
{
[XmlAttribute(AttrName= Name )]
public string Name {get;set;}
public string Number {get;set}
}
我想将N在Xml档案中的这一价值(mle-“MyName”号)放在MyN类财产中。
感谢。