title: Deserializing XML from url to Objects in C#
body: <p>So I have xml from a url that looks like this:</p>
  
  <pre><code>&lt;restaurantFoodImpls&gt;
   &lt;RestaurantFood Price="1689.7594" ID="426" Description="quis egreddior glavans brevens, si eggredior. vobis e fecundio, fecundio, et quoque nomen gravum parte volcans"&gt;
    &lt;foodItem Name="Frances93" ID="548"/&gt;
    &lt;restaurant Name="Alana59" PhoneNumber="7954016342" MobileNumber="372206-3626" LastName="Hickman" ID="1" FirstName="Gabrielle"/&gt;
   &lt;/RestaurantFood&gt;
   &lt;RestaurantFood Price="14.225095" ID="520" Description="in plorum egreddior plorum e pladior in linguens essit. novum habitatio Versus plurissimum volcans linguens estum."&gt;   
    &lt;foodItem Name="Frances93" ID="548"/&gt;
    &lt;restaurant Name="Alana59" PhoneNumber="7954016342" MobileNumber="372206-3626" LastName="Hickman" ID="1" FirstName="Gabrielle"/&gt;
   &lt;/RestaurantFood&gt;
  &lt;/restaurantFoodImpls&gt;
  </code></pre>
  
  <p>How to parse it into objects using C#?<br/>
  I have tried using the deserializer but my problem is that I want the properties of the elements read from the attributes in XML, and I couldn't get them.</p>