Top "Static-methods" questions

Methods that neither require an instance of the class nor can they implicitly access the data (or this, self, Me, etc.

What's the difference between "class method" and "static method"?

I've worked with a few different languages such as Java, C#, and Objective-C. In most languages, methods that don't require …

objective-c terminology static-methods class-method
How do I know if this C# method is thread safe?

I'm working on creating a call back function for an ASP.NET cache item removal event. The documentation says I …

c# concurrency static-methods
How to communicate between Firebase Messaging Service and Activity? Android

I know the question about how to communicate between a service and an activity has been answered many times but …

android firebase android-asynctask static-methods android-service-binding
Java: Calling a static method in the main() method

I am supposed to do the following: Write a Java application (Client) program with a static method called generateEmployees( ) that …

java static-methods main method-call
request.querystring not found in static method

I have static method in which I want to extract querystring value of the request. But it gives me null …

c# asp.net static-methods webmethod pagemethods
Is there a way to force a C# class to implement certain static functions?

I am developing a set of classes that implement a common interface. A consumer of my library shall expect each …

c# .net interface static-methods
C# : Difference between method types

Possible Duplicate: What is the difference between Public, Private, Protected, and Nothing? I have a question : What is the difference …

c# methods static-methods public-method
Guice - Inject dependency into a class with static helper methods

I'm still new to Guice and haven't used any DI frameworks before. After reading the official wiki and many other …

java el guice static-methods taglib
What are the differences between Shared and Static?

I'm a C# developer but I've inherited a legacy VB app today with 0 documentation what so ever. I've been starting …

c# vb.net static static-methods shared
c++ automatic factory registration of derived types

Like many before me, I'm trying so get my derived types to automatically register with my factory. I read through …

c++ templates static-methods factory-pattern