上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 76 下一页
摘要: static DataTable SplitJsonValueToDataTable(string postResult) { DataTable dt = new DataTable(); try { string[] dataArr = postResult.Split(new string[] 阅读全文
posted @ 2020-03-20 18:11 FredGrit 阅读(195) 评论(0) 推荐(0) 编辑
摘要: using System.Security.Cryptography; static void Main(string[] args) { string rawString = "Make every second count."; string encryptedString = Encrypt3 阅读全文
posted @ 2020-03-19 10:59 FredGrit 阅读(298) 评论(0) 推荐(0) 编辑
摘要: static void WebClientDownLoad() { string url = "http://p4.ssl.cdn.btime.com/t0167dce5a13c3da30d.jpg?size=5012x3094"; WebClient client = new WebClient( 阅读全文
posted @ 2020-03-17 17:14 FredGrit 阅读(328) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; n 阅读全文
posted @ 2020-03-17 11:45 FredGrit 阅读(222) 评论(0) 推荐(0) 编辑
摘要: public enum Seasons { Spring,Summer,Autumn,Winter } static string GetEnumItemName(Enum enumItem) { string itemName = Enum.GetName(enumItem.GetType(), 阅读全文
posted @ 2020-03-11 18:24 FredGrit 阅读(218) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { SystemThreadingTimerDemo(); Console.ReadLine(); } static void SystemThreadingTimerDemo() { System.Threading.Timer ti 阅读全文
posted @ 2020-03-11 14:27 FredGrit 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(213) 评论(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 阅读(171) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Threading; using Newtonsoft.Json; using System 阅读全文
posted @ 2020-02-25 10:02 FredGrit 阅读(482) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { InsertionSortDemo(); Console.ReadLine(); } static void InsertionSortDemo() { Random rnd = new Random(); int[] arr = 阅读全文
posted @ 2020-02-12 16:31 FredGrit 阅读(234) 评论(0) 推荐(0) 编辑
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 76 下一页