Example #1
0
 private static void WriteAlbums(Artist artist)
 {
     artist.Albums.ForEach(a => Console.WriteLine(string.Format("   - Album: {0}", a.Title)));
 }
Example #2
0
 private static void WriteArtist(Artist artist)
 {
     Console.WriteLine(string.Format("- Artist: {0}", artist.ToString()));
     WriteAlbums(artist);
 }