Can the XML serializer output empty tags?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-04-05T20:16:51Z Indexed on 2010/04/05 20:23 UTC
Read the original article Hit count: 213

Filed under:
|

I am using the XML serializer. I would like it to convert all my object's elements, but it only seems to output tags when there is a value.

How can I get it to output empty tags?

© Stack Overflow or respective owner

Related posts about c#

Related posts about xml-serialization