Task运行带参数的函数

时间:2019-05-10 14:18:10   收藏:0   阅读:592

  Task<Int32>   task = Task.Run(() => fun("s", 9));

 

函数定义:

   private Int32 frun(string s, int m)
        {
        
            return 0;
        }

原文:https://www.cnblogs.com/81/p/10844058.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!