Sunday, 15 September 2013

c# - Does static make it slow -


Definitely how it works, but I have a question: - Can the static application be applied to the same variable The form slows down or the application is shared across the system, and using a request method or variable, while another has to wait for it to be released.

No, it is not. Besides, .NET does not automatically lock the variable, because you Access them from different parts of the program at the same time. You have to lock yourself.


No comments:

Post a Comment