摘要: C#数据进行显示转换时有可能会出现溢出的情况这时可以用关键字checked进行检查是否溢出: checked(<expression>) 检查溢出 unchecked(<expression>) 不检查溢出 如果使用checked检查溢出,一旦溢出就会抛出System.OverflowExcepti 阅读全文
posted @ 2016-04-01 15:19 numbqq 阅读(544) 评论(0) 推荐(0) 编辑