1  static void Main(string[] args)
 2  {
 3             System.Threading.Thread t1 = new System.Threading.Thread
 4             (delegate()
 5             {
 6                System.Console.Write("Hello, ");
 7                System.Console.WriteLine("World!");
 8             });
 9             t1.Start();
10 11 //用 12 System.Threading.Tasks.Task.Factory.StartNew(() => 13 { 14 // 缓存 15 CacheHelp.Set<IEnumerable<StuNumberRecordView>>("KC_StuNumbers_" + user.UserNo, list, new TimeSpan(1, 0, 0)); 16 }); 17 18 19 Console.WriteLine(""); 20 }

 

相关文章:

  • 2021-05-26
  • 2022-01-26
  • 2021-12-26
  • 2021-12-16
  • 2021-06-22
猜你喜欢
  • 2022-01-26
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2021-05-15
相关资源
相似解决方案