示例#1
0
        static string FileMenu()
        {
            List <string> options = DiaryFile.GetFileNames();

            if (!options.Contains("Go Back"))
            {
                options.Add("Go Back");
            }
            return(GetOptionFromMenu(options));
        }
示例#2
0
 static bool TodaysFileExcists()
 {
     return(DiaryFile.GetFileNames().Contains(TodaysFileName()));
 }