摘要: 保存文件的时候,文件名不允许非法字符。 public string ReplaceSpecialCharacter(string str) { List charArr = new List() { '\\', '/', '*', '?', '"', '', '|', ':' }; return c... 阅读全文
posted @ 2015-11-25 15:34 pengbg 阅读(791) 评论(2) 推荐(0) 编辑