Comments - Do you add a comment when you use Thread.Sleep?

Last updated by Brady Stroud [SSW] about 3 years ago.See history

First don’t do it and find the right fix. But if you have to, it should always be commented – as though your life depended on it.

public DialogResult RefreshSchema() {
    // This is a sleep to delay the Application.DoEvent process.
We open source. Powered by GitHub