Re:Why Does Windows Use Backslash as Path Separator?
by agumonkey on Wednesday April 24, 2024 @06:12PM
(#40150464)
I remember one article about someone porting code from *nix to windows and having almost no issue due to the author leveraging pathlib. Just a side note.
[ Parent
| on HN ]
Re:Why Does Windows Use Backslash as Path Separator?
by Const-me on Wednesday April 24, 2024 @10:55PM
(#40152841)
Same applies to C#. The standard library has pretty good APIs for dealing with file names and paths.
In my experience, a program written in modern .NET 5+ and tested on Windows has a high probability to run flawlessly on Linux, without even a recompilation.