If you run the application from the solution folder, your process will be easily identifiable in the task manager eg: consoleApplication1.exe
You can get the name of the process by:
var cb = Assembly.GetExecutingAssembly().CodeBase;
var processName = Path.GetFileName(cb);
You will see that in your list of processes in task manager, the name of the process is different if you are debugging and you have "Enable the visual studio hosting process" checked. In this instance the process name would be
consoleApplication1.vshost.exe
You can uncheck this option by right clicking on your project and clicking on "Properties" and then selecting "Debug". You should see a checkbox saying "Enable the visual studio hosting process". Deselect the check box.
Your process name will then be
consoleApplication1.exe