static
Attributes
static
keyword can also be applied to attributes.
A (simplified) way to think of it is that a non-static member (field or method) is one which is provided by an instance, while a static member is one which is provided by a class.
The static attributes are declared in a class, but outside a method, constructor, or a block.
To the guy who stole my antidepressants: I hope you’re happy now. |