string[] ParamList = { userNickName, password };
ThreadStart starter = delegate { SendMailWithTheme(userName, ParamList); };
Thread t = new Thread(starter);
t.Start();
public static void SendMailWithTheme(string userName, string[] ParamList)
{
HeartData.Common.SendMailWithTheme(userName, HeartData.MailTheme.HeartNewSignup, ParamList);
}
C# 创建简单多线程任务
最新推荐文章于 2023-07-21 14:00:59 发布