application.startuppath in c# console application code example
Example 1: get application path c#
System.Reflection.Assembly.GetExecutingAssembly().Location
Example 2: how to get the startup path in console app
var GetDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);