Get Current Directory - CSharp System.IO

CSharp examples for System.IO:DirectoryInfo

Description

Get Current Directory

Demo Code


using System.IO;//from   w w w .  j ava 2s  . com
using System;

public class Main{

        public static string GetCurrentDirectory()
        {
            return Directory.GetCurrentDirectory();
        }
}

Related Tutorials