What’s a “static method” in C#?
A static function, unlike a regular (instance) function, is not associated with an instance of the class. A static class is a class which can only contain static members, and therefore cannot be instantiated. For example: class SomeClass { public int InstanceMethod() { return 1; } public static int StaticMethod() { return 42; } } … Read more