How to get the current directory using C#

Total Post:135

Points:947
C# 
C#
 1492  View(s)
Ratings:
Rate this:

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

  1. 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();
    }

      Modified On Mar-31-2018 06:40:57 AM

Answer

NEWSLETTER

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