Assembly a = Assembly.LoadFrom("ConsoleClient.dll");
Type[] types = a.GetTypes();
foreach (Type z in types)
Console.WriteLine("--> " + z);
Console.WriteLine();
Object o = a.CreateInstance("Program");
Type t = a.GetType("ConsoleClient.Program");
Object[] numbers = new Object[2];
numbers[0] = 2;
numbers[1] = 3;
MethodInfo mi = t.GetMethod("add");
Console.WriteLine(mi.Invoke(o, numbers));
//чтобы консоль мгновенно не закрылась
Console.ReadLine();