摘要: 新建一个文件,保存时对文件名进行检查,若重名则按照Windows系统中的方法,加数字与括号进行处理。 using System.IO; public static string getUniqueFileName(string filePath) { string directory = Path. 阅读全文
posted @ 2023-08-04 20:03 刘崇军 阅读(201) 评论(0) 推荐(0)