tags:

views:

64

answers:

1

hi

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

A: 

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

Kevin Crowell