title: Can static properties return new instances of objects/classes in c#
body: <p>I am building an application in ASP.NET MVC 4. I am creating a class (similar to Factory type) that will return me instance of my service classes which i have made in BAL Layer. I want to declare static properties in that class and they should return Instance of requested Service Class. </p>
  
  <p>My question is that is it possible that a static propery will return instance of new class because static property will be allocated a memory that will remain throughout the application. I am little confused here, Please explain what happens and what is best way to do so.</p>
  
  <p>Code done so far</p>
  
  <pre><code>public class Factory
  {
      public static CountryService CountryServiceInstance
      {
          get
          {
              return new CountryService(new CountryRepository());
          }
      }
  }
  </code></pre>