How to determine current EXE directory for a C# console application
I tried to determine current running directory of my C# console application using the following code:
However that code returns path to assembly location. It may be different from the folder where EXE file is located.
My console application parses logs with no parameters. I want to know the path to the logs/ folder inside of the current executable's folder. Please help!