Static – devil in sheep’s clothing

The static keyword is used to declare static members. This modifier can be used with classes, fields, methods, operators, etc. Without this operator we wouldn’t be able to do many things. But on the other hand I think it is sometimes overused. What’s more, sometimes people who use it do not realize the risk that is associated with it. My friend, with whom I had pleasure to work, used to say each time that static is used it causes death of one software developer. In many situations he was totally right. Many times we have remove static elements during refactoring. [...]