loading...

re: Static classes are evil VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Static methods can also be difficult to test, if they make use of dependencies that are environment-specific. I would like to point out that the t...
 

Ah. In C#, static is a modifier you can put when declaring a class (top-level or nested). All it does is compile-time verify that all the class members are also static. Otherwise you will get an error. It doesn't have any particular usage implications that I'm aware of.

Code of Conduct Report abuse