title: Converting XmlDocument to Dictionary<string, string>
body: <p>I'm looking for a good way to convert an <code>XmlDocument</code> to <code>Dictionary&lt;string, string&gt;</code> using Linq.</p>
  
  <p>My xml is formatted like this:</p>
  
  <pre><code>&lt;config&gt;
      &lt;field&gt;value&lt;/field&gt;
      &lt;field2&gt;value2&lt;/field2&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>I'd like to put this into a Dictionary with key value pairs looking like this:</p>
  
  <p>field, value<br>
  field2, value2</p>
  
  <p>I'm thinking I should use Linq to do this but I'm not sure about the syntax.</p>