I tried to get the directory of the console application using the below code,
Assembly.GetExecutingAssembly().Location
but this one gives m
Use this :
System.Reflection.Assembly.GetExecutingAssembly().Location
Combine that with
System.IO.Path.GetDirectoryName if all you want is the directory.