I have an example:
Assembly asm = Assembly.Load(\"ClassLibrary1\");
Type ob = asm.GetType(\"ClassLibrary1.UserControl1\");
UserContro
You cannot create instance of an interface, but if
UserControl1 implements ILoad inteface
you can use resulting object as ILoad
ILoad uc = (ILoad)Activator.CreateInstance(ob);
grd.Children.Add(uc);
Moreover, you do not need to treat it via interface, if you write
UserControl1 uc = (UserControl1)Activator.CreateInstance(ob);
grd.Children.Add(uc);
Members of ILoad would be callable as uc.SomeILoadMethod();