摘要: static void CheckedUnCheckedDemo() { int i = int.MaxValue; try { //checked //{ // Console.WriteLine(i + 1); //} unchecked { Console.WriteLine(i + 1); 阅读全文
posted @ 2020-02-28 16:01 FredGrit 阅读(220) 评论(0) 推荐(0)
摘要: A finally block does not always xecute. The code in the try block could go into an infinite loop, the exception could rigger a “fail fast” (which take 阅读全文
posted @ 2020-02-28 15:48 FredGrit 阅读(180) 评论(0) 推荐(0)