我正在使用XmlSerializer并在类中具有以下属性
public string Data { get; set; }
我需要输出完全如此
<Data />
我将如何实现这一目标?
c# xml-serialization
c# ×1
xml-serialization ×1