In c# console application, I intend to get the appropriate directory. For example, let's assume that I have the following code:

```
class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine(args[0]);
    }
}

```

and I do this inside the command prompt:

> 
> FooCA.exe .\Foo\Bar
> 
> 
> 

What I get is exactly the same string. So, how can I convert this to a full path?

And I would like to get the directory of the command line if no Command-Line Arguments specified.