define a custom directory path - CSharp File IO

CSharp examples for File IO:Path

Description

define a custom directory path

Demo Code

using static System.Console;
using static System.IO.Directory;
using static System.IO.Path;
using static System.Environment;
class Program//from   w  w  w  .j  a  v a  2 s. c om
{
   static void Main(string[] args)
   {
      string userFolder = GetFolderPath(SpecialFolder.Personal);
   }
}

Related Tutorials