This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17912|Reply: 0

[New Issue] I ran into a very strange problem where the code in front of Thread.Sleep did not execute

[Copy link]
Posted on 12/29/2015 7:42:48 PM | | |
If you add a MessageBox.Show() pop-up window in front of Thread.Sleep, all the code in front of Thread.Sleep will be executed, if you remove MessageBox.Show(), the code in front of Thread.Sleep will not be executed, I don't know why. Also, setting a breakpoint will also execute the code before Thread.Sleep, if you cancel the breakpoint, the code before Thread.Sleep will not be executed...




Previous:asp.net displays server information and configuration
Next:"MvcBuildViews" in the element namespace is invalid
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com