static int _i;
static void Display()
{
//operates on _i;
}
AND
static int _i;
void Display()
{
//operates on _i;
}
Which are the scenarios where being specific about method's static-nonstatic-ness matter?
Edit; Note: This question is not about differences between static and non static methods as many seem to answer. The question is what are the scenarios/use-cases where I should be worrying about the differences. For clarity see @ziesemer's answer which seem to exactly address it.