title: C# - Execute code from a .NET DLL (Class Library) without referencing it?
body: <p>I am trying to find a way in which I can execute code from a .NET DLL after my application has already been launched.  I have included some pseudo-code below that might try and explain what I'm trying to do.  I know it's probably a lot more complicated than I make it seem.</p>
  
  <pre><code>ClassLibrary myLibrary = new ClassLibrary("C:\\Users\\Admin\\Desktop\\myTestLibrary.dll");
  myLibrary.executeMethod("showMessageMethod", arg1, arg2, arg3...);
  </code></pre>
  
  <p>That's what I want to do although I understand it's likely far more complicated than that!</p>
  
  <p>I would also like to make it clear that I <b>do understand</b> that you're meant to reference the library in your project etc... but my project requires that I don't do it this way.</p>
  
  <p>Thanks in advance!</p>