摘要: try { //////////////// 代码段 //////////////// }catch(Exception ex) { MessageBox.Show(ex.StackTrace); } 据说在debug里可以用,release里不行,但是我很少用release。。 阅读全文
posted @ 2021-06-25 16:17 你的代码能改变世界吗 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 学习流的使用时(stream类),逐步遇到新的理解,记录一下 1、FileStream流是处理byte[],默认UTF8类型 当你使用wirte方法时将非byte类型的输入内容,先将内容通过转换为字节 FileStream fs = new FileStream(@"c:\text.txt", Fi 阅读全文
posted @ 2021-06-25 09:34 你的代码能改变世界吗 阅读(122) 评论(0) 推荐(0) 编辑