Accessing Environment Settings
using System;
class MainClass
{
public static void Main()
{
Console.WriteLine("Current Directory: {0}", Environment.CurrentDirectory);
Console.WriteLine("System Directory: {0}", Environment.SystemDirectory);
}
}
Output Current Directory: C:\Java_Dev\WEB\dev\CSharp
System Directory: C:\WINDOWS\system32
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|