We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d962de7 commit b8bd222Copy full SHA for b8bd222
1 file changed
Homework3/LZW/LZW/LZW.cs
@@ -35,7 +35,7 @@ public static void CompressFile(string pathToFileToCompress)
35
{
36
37
string fileName = Path.GetFileNameWithoutExtension(pathToFileToCompress);
38
- fileName = $"{pathToFileToCompress}..\\..\\{fileName}.zipped";
+ fileName = $"{pathToFileToCompress}..//..//{fileName}.zipped";
39
40
// Name of the compressed file
41
using FileStream fs = new(fileName, FileMode.Create);
@@ -85,7 +85,7 @@ public static void DecompressFile(string pathToFile)
85
86
87
string fileName = Path.GetFileNameWithoutExtension(pathToFile);
88
- fileName = $"{pathToFile}..\\..\\{fileName}";
+ fileName = $"{pathToFile}..//..//{fileName}";
89
90
// Create file
91
0 commit comments