title: DataContract deserializer with Dictionary
body: <p>If i have an xml like:</p>
  
  <pre><code>&lt;Foo&gt;
  &lt;Bar&gt;
      &lt;A&gt;aaaa&lt;/A&gt;
      &lt;B&gt;bbb&lt;/B&gt;
  &lt;/Bar&gt;
  &lt;C&gt;ccc&lt;/C&gt;&lt;/Foo&gt;
  </code></pre>
  
  <p>Can I deserialize it into a Foo class with a dictionary structure and a string property like following  using the same DataContract Deserializer? With A and B as the keys and the "aaaa" and "bbb" as the Values in the dictionary? </p>
  
  <pre><code>[DataContract]
  class Foo
  {
  
    [DataMember]
    public Dictionary&lt;string, string&gt; Bar
    { get; set; }
  
    [DataMember]
    public string C { get; set; }
  }
  </code></pre>
  
  <p>I know there is an example using CollectionDataContract on MSDN site but it only uses the A as the key and B as the value.</p>