mtreit
Using File.ReadAllText in a Dependency Injected Project
The "current working directory" cwd (sometimes also called "present working directory" pwd) is the path from which the executable was invoked and that's where relative paths (you said absolute path but I think you meant relative?) are rooted from.
So this code:
Will print different values depending on where you invoke the exe from.
9 replies
Best way to have a multi-window console app
You might try a framework like this which allows old-school terminal based UIs including multiple windows, menus, etc.
I have not actually used it but the examples show there is a lot of possibilities (scroll down in the README for a bunch of examples of what it can do)
https://github.com/gui-cs/Terminal.Gui
3 replies
Resource to learn C#
Probably depends on the kind of development you are planning on doing. There is a lot of content on learn.microsoft.com:
https://learn.microsoft.com/en-us/training/browse/?levels=intermediate&products=dotnet
35 replies