title: Get the value of a static property from a System.Type
body: <p>I have the situation that I am trying to access a static property that contains a singleton to an object that I wish to retrieve only by knowing its type. I have an implementation but it seems cumbersome...</p>
  
  <pre><code>public interface IFace
  {
      void Start()
  }
  
  public class Container
  {
      public IFace SelectedValue;
      public Type SelectedType;
      public void Start()
      {
          SelectedValue =  (IFace)SelectedType.
                           GetProperty("Instance", BindingFlags.Static | BindingFlags.Public).
                           GetGetMethod().Invoke(null,null);
          SelectedValue.Start();
      }
  }
  </code></pre>
  
  <p>Is there other way to do the above? Access a public static property using a System.Type ?</p>
  
  <p>Thanks</p>