Does static imply no state

c#, state, static

Solution

Static nearly means global. There is still an instance, and there is still state in that instance, but it is the static instance, which means there is only one and all callers always refer to that one.

Problem

I recently made a recommendation to one of my colleagues stating that on our current project (C#) "services should be stateless and therefore static". My colleague agreed and indicated that in our project the services are (and should be) indeed stateless. However my colleague disagreed that static implies no state and that stateless should mean static. My questions is “does a method marked as static imply that it requires no state and that in a majority of cases should stateless methods be made static”.

Original source