title: AppDomain.CreateInstance
body: <p>When we used AppDomain.CreateInstance("Assembly name", Type name)
   and my class inherits from MarshalByRefObject
   what happen internally? Is it create a TransparetnProxy?</p>
  
  <p>Code:</p>
  
  <pre><code>class Greet : MarshalByRefObejct
  {
    ...
  }
  
  class test
  {
   public static void Main(string[] args)
   {
     AppDomain ad = AppDomain.CreateDomain("Second");
     ObjectHandle hObj = ad.CreateInstance("Test", args[0]);
    ....
   }
  }
  </code></pre>
  
  <p>passing in args[0] = Greet</p>