title: How to get the attribute value of an xml code using linq
body: <pre><code>&lt;Shape ID="1" NameU="Start/End" Name="Start/End" Type="Shape" Master="2"&gt;
   ....&lt;/Shape&gt;
  &lt;Shape ID="2" NameU="Start/End" Name="Start/End" Type="Shape" Master="5"&gt;
   ....&lt;/Shape&gt;
  </code></pre>
  
  <p>I have to return the Master  value for every ID value.
  How can i achieve it by using LINQ to XMl.</p>