using System; class Program { static void Main(string[] args) { string path; path = AppDomain.CurrentDomain.BaseDirectory; } }