Get system folder path in CSharp
Description
The following code shows how to get system folder path.
Example
/*from w w w .j ava2s. com*/
using System;
class Sample
{
public static void Main()
{
Console.WriteLine("GetFolderPath: {0}",
Environment.GetFolderPath(Environment.SpecialFolder.System));
}
}
The code above generates the following result.