Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法让 System.Xml.Serialization 按特定顺序序列化属性?我正在创建新的 xml 导出,并且属性当前的顺序不同。我知道属性顺序无关紧要,但我必须将此 xml 发送到可能没有这种开明想法的服务器。