且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我们是否需要处置或使用终止后,在C#中的线程?

更新时间:2022-05-14 22:41:56

NO!

有没有必要处置Thread对象(顺便说一句,Thread类没有提供Dispose方法)。

there is no need to dispose the Thread object (BTW, the Thread class does not provide the Dispose method).