title: Call method through interface without creating a new instance of the interface
body: <p>What I am trying to do is actually really simple, but for some reason I am either going the wrong way about it or am just missing some vital know how, because I just cannot figure out how to call a method through an interface without creating a new instance of the class/interface.</p>
  
  <p>Either way, what I am trying to achieve is to call the following method through an interface that implements the method, without having to create a new instance.</p>
  
  <pre><code>public partial class MyClass : IMyInterface
  {
     public void MyMethod(object obj)
     {
        //Method code....
     }
   }
  </code></pre>
  
  <p>my interface</p>
  
  <pre><code>public interface IMyInterface
  {
     void MyMethod(object obj);
  }
  </code></pre>
  
  <p>My Solution has three Projects </p>
  
  <ul>
  <li>Data</li>
  <li>Service</li>
  <li>UI</li>
  </ul>
  
  <p>the Interface and <code>MyClass.xaml.cs</code> are in the UI, and I am trying to call the <code>MyMethod()</code> method from a class in my Service layer by using an existing instance of the interface.</p>
  
  <p>I have done it like this from another section in the code which does not work here, I have no idea why</p>
  
  <pre><code>//Register interface
  internal static IMyInterface mi;
  //and call it like so
  mi.MyMethod(Object);
  </code></pre>
  
  <p>I have done plenty of google searches, but everyone seems to create a new instance which in my case is not a valid option.</p>