title: How I can get an array of array using Linq to XML?
body: <p>How I can get a list of all genres?
  Now I only get the first genre of each song.</p>
  
  <p><strong>XML file:</strong></p>
  
  <pre><code>&lt;Library xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;Songs&gt;
      &lt;Song&gt;
        &lt;Title&gt;High Hopes&lt;/Title&gt;
        &lt;Genres&gt;
          &lt;Genre&gt;Rock&lt;/Genre&gt;
          &lt;Genre&gt;American&lt;/Genre&gt;      
        &lt;/Genres&gt;
       &lt;/Song&gt;
      &lt;Song&gt;
        &lt;Title&gt;Imagine&lt;/Title&gt;
        &lt;Genres&gt;
          &lt;Genre&gt;Pop&lt;/Genre&gt;
          &lt;Genre&gt;Unplugged&lt;/Genre&gt;      
        &lt;/Genres&gt;
      &lt;/Song&gt;
    &lt;/Songs&gt;
  &lt;/Library&gt;
  </code></pre>
  
  <p><strong>C# code:</strong></p>
  
  <pre><code>public void ListGenres()
  {
    System.Xml.Linq.XElement xLibrary = System.Xml.Linq.XElement.Load(@"c:\Library.xml");
    System.Xml.Linq.XElement xSongs = xLibrary.Element("Songs");
    System.Collections.Generic.IEnumerable&lt;string&gt; genres = 
                  from code in xSongs.Elements("Song")
                  let genre = (string)code.Element("Genres").Element("Genre")
                  orderby genre
                  select genre;
    foreach (string genre in genres)
    {
        Console.WriteLine(genre);
    }
  }
  </code></pre>
  
  <p><strong>Result:</strong></p>
  
  <pre><code>Pop
  Rock
  </code></pre>
  
  <p><strong>But I need:</strong></p>
  
  <pre><code>Rock
  American
  Pop
  Unplugged
  </code></pre>
  
  <p>Thanks.</p>