LINQ in Action roller

Parsing iTunes Library xml in Linq

Hey guys, I found a VB 9.0 sample on using Linq to read the iTunes XML library and I am trying to convert it to C# - VB Code Code Snippet Dim itunesPlaylists = From key In itunesLib... key > _ Where key.Value = "Playlist ID" _ Select key.ElementsBeforeSelf( "string" ).Value C# so far.. Code Snippet IEnumerable string > artists = from a in itunesLib.Descendants( "dict" ).Descendants( Read More...
Published Saturday, January 24, 2009 10:27 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog