I have a class that serializes to an XML file. There are several properties that are rarely used, but are always created. If I delete them in XML, deserialization still works because they have a default value.
These unnecessary attributes (bool) make it easy to read XML.
Can I somehow tell C # to omit elements or attributes that still have a default value?
Mrfox source share