add type to assembly at runtime c# code example
Example: c# loading assembly at runtime
using System.Reflection;
var dll = Assembly.LoadFile(@"C:\assembly.dll"); // full path requied
Type type = dll.GetType("myNamespace.myClass");
dynamic c = Activator.CreateInstance(type);
c.myPublicMethod();