title: Cast to not explicitly implemented interface?
body: <p>Let's say you define some arbitrary interface:</p>
  
  <pre><code>public interface IInterface {
      void SomeMethod();
  }
  </code></pre>
  
  <p>And let's say there are some classes that happen to have a matching public interface, even though they do not "implement <code>IInterface</code>". IE:</p>
  
  <pre><code>public class SomeClass {
      public void SomeMethod() {
         // some code
      }
  }
  </code></pre>
  
  <p>Is there nevertheless a way to get an <code>IInterface</code> reference to a <code>SomeClass</code> instance? IE:</p>
  
  <pre><code>SomeClass myInstance = new SomeClass();
  IInterface myInterfaceReference = (IInterface)myInstance;
  </code></pre>