using System;
using System.IO;
//csc directoryinfo_create.cs
namespace dir_files
{
public class dir_create
{
public static void procces( string s )
{
string path = s;
DirectoryInfo root = Directory.CreateDirectory(path);
Console.WriteLine("The directory was created successfully at {0}.",
Directory.GetCreationTime(path));
// Delete the directory.
//di.Delete();
//Console.WriteLine("The directory was deleted successfully.");
}
}//end of the class
class Test
{
public static void Main()
{
do
{
Console.Write(" Enter complete path :");
string str =Console.ReadLine();
if(str !=""){ dir_create.procces(str);}
else return;
} while(true);
}
}
}