title: How to call a method from an external Assembly
body: <p>I have sample c# project:</p>
  <pre><code>namespace SampleExe
  {
      class Program
      {
          static void Main(string[] args)
          {
              Console.WriteLine(&quot;Hello World!&quot;);
          }
      }
  }
  </code></pre>
  <p>And I have sample c# dll:</p>
  <pre><code>namespace SampleDll
  {
      public class Program
      {
          public static void TestMethod(string samplestr)
          {
              Console.WriteLine(&quot;TestMethod Void Runned! Your string is: &quot;+samplestr);
          }
      }
  }
  </code></pre>
  <p>How can i call TestMethod() from compilled SampleDll.DLL (i want to load external dll)</p>