title: How to include null properties during xml serialization
body: <p>Currently, the code below omits null properties during serialization. I want null valued properties in the output xml as empty elements. I searched the web but didn't find anything useful. Any help would be appreciated.</p>
  
  <pre><code>        var serializer = new XmlSerializer(application.GetType());
          var ms = new MemoryStream();
          var writer = new StreamWriter(ms);
          serializer.Serialize(writer, application);
          return ms;
  </code></pre>
  
  <p>Sorry, I forgot to mention that I want to avoid attribute decoration.</p>