Is there an easy way to compare if 2 XDocuments are equal ignoring element/attribute order?

后端 未结 3 1953
栀梦
栀梦 2021-01-03 22:33

Unit testing my serialization code I found one failed because I had attributes listed in a different order (I\'m just comparing the XDocument.ToString() values) and while I

3条回答
提交回复
热议问题