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
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()