摘要: 1、catch (Exception)和catch (Exception e) Exception 类包含许多子类 程序执行的时候要将每一个类都搜索一遍 以找到符合的异常类 这样是蛮消耗资源的 影响效率,最好指定具体的子类 2、const readonly static 声明Class1类 调用Cl 阅读全文
posted @ 2017-09-28 15:02 西伯利亚的狼 阅读(223) 评论(0) 推荐(0) 编辑