Пример #1
0
 private static void writeSongToFile(Song s)
 {
     try
     {
         using (StreamWriter outfile = new StreamWriter(@"D:\Development\MusicLyricsDataScrapper\output_lyrics\" + s.getLetter() + "_" + s.getTitle()))
         {
             outfile.Write(s.getLyrics());
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("found exception with : " + s.getLetter() + "+" + s.getTitle());
     }
 }