Collection was modified error is comming when i use Application.Exit()
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()
精彩评论