title: DataContractSerializer vs XmlSerializer: Pros and Cons of each serializer
body: <p>My desktop application serializes objects using <code>XmlSerializer</code>. I was suggested to leverage <code>DataContractSerializer</code> instead.<br>
  Under which scenarios should I use <code>DataContractSerializer</code>?</p>
  
  <p>Many thanks</p>
  
  <p>Comments.<br>
  1. The output XML file is stored locally. No other applications deserialize objects from that XML file.<br>
  2. My application runs with .NET Framework 3.5 SP1.</p>