title: Read XML Attribute using XmlDocument
body: <p>How can I read an XML attribute using C#'s XmlDocument?</p>
  
  <p>I have an XML file which looks somewhat like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;MyConfiguration xmlns="http://tempuri.org/myOwnSchema.xsd" SuperNumber="1" SuperString="whipcream"&gt;
      &lt;Other stuff /&gt;
  &lt;/MyConfiguration&gt; 
  </code></pre>
  
  <p>How would I read the XML attributes SuperNumber and SuperString?</p>
  
  <p>Currently I'm using XmlDocument, and I get the values in between using XmlDocument's <code>GetElementsByTagName()</code> and that works really well. I just can't figure out how to get the attributes?</p>