static void Main(string[] args) { var filename = "test.txt"; var j = new Journal(); j.AddEntry("Entry 1"); j.AddEntry("Entry 2"); Console.WriteLine(j); JournalHelper.SaveToFile(j, filename, true); Console.ReadKey(); }
static void Main(string[] args) { var filename = "test.txt"; var j = new Journal(); j.AddEntry("Entry 1"); j.AddEntry("Entry 2"); Console.WriteLine(j); JournalHelper.SaveToFile(j, filename, true); Console.ReadKey(); }