Exemple #1
0
 public static void Lists()
 {
     if (Directory.GetFiles(WordList.LocalApplicationDirectory).Length != 0)
     {
         Console.WriteLine("Available lists:");
         foreach (string list in WordList.GetLists())
         {
             Console.WriteLine(list);
         }
     }
     else
     {
         Console.WriteLine("Could not find any lists.");
     }
 }
 public static string[] Lists()
 {
     return(WordList.GetLists());
 }