title: What are the desirable situation (real life example) to create static methods except for creating helper?
body: <p>I just want to understand the purpose that static method serves and what are the desirable situation where i can create static methods except some would say that static methods are used for creating helper.</p>
  
  <p>Consider i have 1 website that will be used in my company only like <strong>Human resource management system</strong> like websites.</p>
  
  <p>Now after Admin login in to the system admin will see the list of employees.so the method is simple which does nothing more than fetching all details of employees from employee table and will display them on the web site and this method will be define in business access layer like this in .net:</p>
  
  <pre><code> public class EmployeeBal
      {
          public List&lt;Employee&gt; GetAllEmployees()
          {
                   return Select * from Employee
          }
       }
  </code></pre>
  
  <p>This is how i would call this method from my application.For Eg(.aspx page or mvc controller etc....)</p>
  
  <pre><code>var employeeBal= new EmployeeBal();
  employeeBal.GetAllEmployees();
  </code></pre>
  
  <p>So my question is should i create this method as static method or non static method??</p>
  
  <p>Note:This is just an example of method and this method is in my <strong>business access layer</strong>.</p>
  
  <p>Consider i have 1 <strong>ecommerce website</strong> where on the home page i am displaying some list of products and on visit of that website every users can see that list of products.</p>
  
  <p>so my function would be same as above define in Business acess layer:</p>
  
  <pre><code>public class ProductBal
      {
          public List&lt;Product&gt; DisplayProductonHomePage()
          {
                   return Select * from Products
          }
       }
  </code></pre>
  
  <p>So my question would be same like whether to create this method as static method or non-static method and what will happen if more than 10 users at same time simultaneously access this website then what will be the behaviour/implications of this method???</p>
  
  <p>Will this method will serve the purpose of this each user if we declare this method as static??</p>
  
  <p>Can anybody answer this question with briefly explaining every scenario???</p>