title: Invoking a method using reflection on a singleton object
body: <p>So I have the following:</p>
  
  <pre><code>public class Singleton
  {
  
    private Singleton(){}
  
    public static readonly Singleton instance = new Singleton();
  
    public string DoSomething(){ ... }
  
    public string DoSomethingElse(){ ... }
  
  }
  </code></pre>
  
  <p>Using reflection how can I invoke the DoSomething Method? </p>
  
  <p>Reason I ask is because I store the method names in XML and dynamically create the UI. For example I'm dynamically creating a button and telling it what method to call via reflection when the button is clicked. In some cases it would be DoSomething or in others it would be DoSomethingElse.</p>