Hello, if you use dll fightclass you can:
var dllFile = System.IO.File.ReadAllBytes("fightclass.dll");
var assembly = System.Reflection.Assembly.Load(dllFile);
var obj = assembly.CreateInstance("Main", false);
if (obj is ICustomClass instanceFromOtherAssembly)
{
instanceFromOtherAssembly.Initialize();
}
else you need to use CompileAssemblyFromSource