可能是一个基本问题:
我经历了这个,
secondDomain.CreateInstance("AssemblyA", "AssemblyA.Demo", true,
System.Reflection.BindingFlags.CreateInstance, null,
new object[] { 7, 3 }, null, null);
以评论的形式看待解释。
// Returns:
// An object that is a wrapper for the new instance specified by typeName. The
// return value needs to be unwrapped to access the real object.
MSDN:AppDomain.CreateInstance Method。
在这种情况下,对象的包装是什么?这是为什么用的?如何解开这个?