using System.IO; using System.Reflection; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { var path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)