HOW TO GET THE CURRENT DIRECTORY USING C#

Chintoo Semi

Total Post:135

Points:947
Posted by  Chintoo Semi
C# 
C#
 1211  View(s)
Ratings:
Rate this:

I want to get the current working directory using C#?

  1. Manoj Bhatt

    Post:154

    Points:1086
    Re: How to get the current directory using C#

    static void Main(string[] args)

    {

    Console.WriteLine("Current working directory:: {0}",     Environment.CurrentDirectory);

      Console.ReadKey();

    }

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!