public static CreateFolder ( String path ) : |
||
path | String | the file path to create |
Результат |
public static DirectoryInfo CreateFolder(String path)
{
try
{
return Directory.CreateDirectory(path);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message + " >" + ex.StackTrace);
return null;
}
}