Made some clarifications in comments

This commit is contained in:
Tony Bark 2025-03-11 18:42:14 -04:00
parent c8dd778784
commit 9fcc37315e

View file

@ -58,7 +58,7 @@ if (Console.ReadKey().Key == ConsoleKey.Y)
var filePath = Path.Combine(appPath, scheduleFile); var filePath = Path.Combine(appPath, scheduleFile);
var appendSchedule = false; var appendSchedule = false;
// If the file already exists, assume the schedule was written // If the file already exists, assume a previous schedule was written
if (File.Exists(filePath)) if (File.Exists(filePath))
{ {
Console.WriteLine($"{Environment.NewLine}Add another schedule? Y/N"); Console.WriteLine($"{Environment.NewLine}Add another schedule? Y/N");
@ -77,7 +77,7 @@ if (Console.ReadKey().Key == ConsoleKey.Y)
outputFile.WriteLine(line); outputFile.WriteLine(line);
} }
// Clear list and start over // Clear list from memory before exit
storeSchedule.Clear(); storeSchedule.Clear();
} }
else else