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;
}
}
阿斯蒂芬阿斯蒂芬
文件删除方法
最新推荐文章于 2025-11-02 14:42:26 发布
159

被折叠的 条评论
为什么被折叠?



