开发者

Collection was modified error is comming when i use Application.Exit()

开发者 https://www.devze.com 2022-12-25 04:39 出处:网络
when i use Application.Exit() method in my application it is showing an error like collection was modified exception is comming

when i use Application.Exit() method in my application it is showing an error like

collection was modified exception is comming

开发者_开发知识库

how to handle this exception

Thanks in Advance


You need to make sure that all of your threads are ended before you call Application.Exit()

0

精彩评论

暂无评论...
验证码 换一张
取 消