Пример #1
0
        private static void SavePathToFile(Path path)
        {
            try
            {
                var writer = new StreamWriter(PathToFile);
                PathStorage.SavePath(path, writer);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }

            Console.WriteLine("Path saved successfully.");
        }