Get Current Directory in CSharp
Description
The following code shows how to get Current Directory.
Example
// ww w . java 2s . c om
using System;
using System.IO;
static class MainClass
{
static void Main()
{
Console.WriteLine("Using: " + Directory.GetCurrentDirectory());
}
}
The code above generates the following result.