title: How to keep XmlSerializer from killing NewLines in Strings?
body: <p>Suppose I have a simple Class with just one Member a String. </p>
  
  <pre><code>public class Abc
  {
      private String text;
  
      public String Text
      {
          get { return this.text; }
          set { this.text = value; }
      }
  }
  </code></pre>
  
  <p>Now when I serialize and then deserialize it with the questionable XmlSerializer any text containing newlines ('\r\n' or Environment.NewLine) are transformed to '\n'.</p>
  
  <p>How do I keep the newlines? </p>