public static bool Delete(User path)
{
path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, path);
try
{
if (File.Exists(path))
{
File.Delete(path);
return true;
}
else
{
return true;
}
}
catch (Exception e)
{
e.Message.ToString();
return false;
}
}
阿斯蒂芬阿斯蒂芬
最新推荐文章于 2024-08-25 20:15:55 发布