02 2020 档案
摘要:static void CheckedUnCheckedDemo() { int i = int.MaxValue; try { //checked //{ // Console.WriteLine(i + 1); //} unchecked { Console.WriteLine(i + 1);
阅读全文
摘要: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
阅读全文
摘要:using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Threading; using Newtonsoft.Json; using System
阅读全文
摘要:static void Main(string[] args) { InsertionSortDemo(); Console.ReadLine(); } static void InsertionSortDemo() { Random rnd = new Random(); int[] arr =
阅读全文