how to use loaded DLLS assembly' methods which is referenced to another assembly?
问题 i have 2 assemblies. i added classlib1 into classLib2 references. like that: and i used it like that: namespace ClassLibrary2 { public class Class1 { public Class1() { } public int GetSum(int a , int b) { try { ClassLibrary1.Class1 ctx = new ClassLibrary1.Class1(); return ctx.Sum(a, b); } catch { return -1; } } } } Also i want to load (class1lib and Class2Lib) another C# project dynamically by using AppDomain. using System; using System.Collections.Generic; using System.Linq; using System.Web