摘要: 1.Task.Run(); static void Main(string[] args) { long a = 9876545678, b = 987654567892; Task task = Task.Run(() => { Add(a, b); }); Console.ReadLine(); 阅读全文
posted @ 2016-08-15 22:43 FredGrit 阅读(184) 评论(0) 推荐(0) 编辑
摘要: private void btnExport_Click(object sender, RoutedEventArgs e) { System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch(); sw.Start(); dg. 阅读全文
posted @ 2016-08-15 22:22 FredGrit 阅读(707) 评论(0) 推荐(0) 编辑