I'm not a professional developer so please excuse my lack of knowledge here ... got a question or 2 for y'all though.
The code sample below is a simple method that obviously returns the result of an identical service method (repository design pattern). As you can see, it's static. The method is from a Windows Forms application and in the example it's from the method won't ever be called more than once at a time. I believe that static methods should always return the same result - is that right?
Why should this method be static/non-static? If it's only being called from one class at a time does it matter? The class that contains the method below doesn't get instantiated either - it doesn't need to, I think.
Can someone please explain this if you understand what I'm asking?
public static IList<Application> ListAllApplications(string connStr)