The attached code below is in question...
Here is the error:
Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
When I try to make the thread sleep within the thread method I get this error. I've also tried Thread.CurrentThread.Sleep(10000), and it's still the same error. I've tried to research the error but all of the explainations seem confusing. Any help on how to do this the right way?
Thanks
Here is the error:
Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
When I try to make the thread sleep within the thread method I get this error. I've also tried Thread.CurrentThread.Sleep(10000), and it's still the same error. I've tried to research the error but all of the explainations seem confusing. Any help on how to do this the right way?
Thanks