CSharp examples for System.IO:DirectoryInfo
Get Current Directory
using System.IO;//from w w w . j ava 2s . com using System; public class Main{ public static string GetCurrentDirectory() { return Directory.GetCurrentDirectory(); } }