public static Boolean CreateDirectory(string _targetFolder)
{
try
{
if (!Directory.Exists(_targetFolder))
{
Directory.CreateDirectory(_targetFolder);
}
return true;
}
catch
{
throw;
return false;
}
}
{
try
{
if (!Directory.Exists(_targetFolder))
{
Directory.CreateDirectory(_targetFolder);
}
return true;
}
catch
{
throw;
return false;
}
}
No comments:
Post a Comment