c# - DataContractSerializer on augmented list type -
I'm having trouble using DataContract s, where list wrapper with additional data Enhanced. The important part of XML is pasted here with the full link of XSD and document at the end of this post. & lt; Criteria & gt; & Lt; Kasauti & gt; & Lt; Name & gt; Common Name & lt; / Name & gt; & Lt; Price & gt; J350 & lt; / Pricing & gt; & Lt; Matches & gt; 3 & lt; / Matches & gt; & Lt; / Criterion & gt; & Lt; Kasauti & gt; & Lt; Name & gt; Designation & lt; / Name & gt; & Lt; Price & gt; J350 & lt; / Pricing & gt; & Lt; Matches & gt; 8 & lt; / Matches & gt; & Lt; / Criterion & gt; & Lt; Matches & gt; 2 & lt; / Matches & gt; & Lt ;! - Shows only results that match all criteria - & gt; & Lt; / Criteria & gt; I am now at this point: [Collection data contract (namespace = "The namespace")) Public Partial ...