Environment.SpecialFolder : Environment Settings : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Environment Settings »

 

Environment.SpecialFolder








    
 

using System;
using System.Windows.Forms;
   
class MyDocumentsFolder
{
     public static void Main()
     {
          Console.WriteLine(Environment.GetFolderPath(Environment.SpecialFolder.Personal));

        foreach (Environment.SpecialFolder s in
            Enum.GetValues(typeof(Environment.SpecialFolder))) {
            Console.WriteLine("{0} folder : {1}", s, Environment.GetFolderPath(s));
        }
          
     }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Environment Settings