title: Can I use Activator.CreateInstance with an Interface?
body: <p>I have an example:</p>
  
  <pre><code>        Assembly asm = Assembly.Load("ClassLibrary1");
          Type ob = asm.GetType("ClassLibrary1.UserControl1");
          UserControl uc = (UserControl)Activator.CreateInstance(ob);
          grd.Children.Add(uc);
  </code></pre>
  
  <p>There I'm creating an instance of a class, but how can I create an instance of a class which implements some interface? i.e. <strong>UserControl1</strong> implements <strong>ILoad</strong> interface.</p>
  
  <p><strong>U:</strong> I can cast object to interface later, but I don't know which type in the assemblies implements the interface.</p>