Environment.CurrentDirectory
using System; class MainClass { public static void Main() { Console.WriteLine("Current folder : " + Environment.CurrentDirectory); } }