问题描述
你可以告诉我是否可以实现以下任务,如果是,那么如何,如果没有那么原因。
我有用C#编写的邮件功能,我需要一次发送50封邮件。现在我可以通过两种方式实现这一点:一次运行50个exes或者通过在单个程序中实现线程概念。
但是正如预期的那样,线程概念并没有给我带来结果或者可以通过运行多个exes来表达我的表现。你可以通过提供运行一个程序的建议或概念来帮助我,并获得运行多个exes的性能。
Can you let me know whether following tasks is achievable or not, if yes then how, if no then why.
I have got mailing function written in C#, i need to send 50 mails at one shot. Now i can achieve this by two ways either run 50 exes at one time or by implementing threading concept in single program.
But as expected threading concept is not giving me result or can say performance as i am getting by running multiple exes. Can you help me by giving suggestion or concept for running one program and get the performance of running multiple exes.
这篇关于如何实现“好像”多个exes从C#中的一个exe运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!