我是编程新手,所以如果问题很愚蠢,请原谅我-
我想知道,在一个普通的C#程序中,我们没有在代码中手动创建多线程,整个程序是在一个主线程上运行还是
是否为程序的执行创建了其他一些线程?
最佳答案
来自 Threading (C#) :
By default, a C# program has one thread. However, auxiliary threads can be created and used to execute code in parallel with the primary thread.
关于c# - .Net 应用程序的默认线程模型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38854906/