static unsafe void Main(string[] args) { unchecked //checked 运行时候引发异常 { int n = int.MaxValue; n++; Console.WriteLine(n); } Console.ReadKey(); }
posted on 2018-04-11 11:38 不会非的猪 阅读(170) 评论(0) 编辑 收藏 举报