I have the following class:

[XmlType("supervisor")]
public class Supervisor
{
   [XmlAttribute("id")]
    public string Id { set; get; }

    [XmlElement("Name")]
    pu,c#,xml,list"/>
	














首页 > 解决方案 > 写清单 to XML file with elements and attribute

I have the following class:

[XmlType("supervisor")]
public class Supervisor
{
   [XmlAttribute("id")]
    public string Id { set; get; }

    [XmlElement("Name")]
    pu