title: XmlSerializer.Deserialize ignore unnecessary elements
body: <p>I have used xsd.exe to generate .cs file from my XML response.</p>
  
  <p>In my XML response there are few elements which are not required in app, I want to omit those, so I removed them from response xml file and regenerated the .cs file.</p>
  
  <p>I use this .cs file to deserialize from my xml server response (which has those unnecessary elements), which causes System.InvalidOperationException.</p>
  
  <p>Please let me know how can I parse or deserialize the server response to the class which has only those properties which are required.</p>
  
  <p>I wok for Windows Phone app.</p>
  
  <p>Thanks,
  Kavit.</p>