引用B.dll后,右键引用中的B.dll属性->别名->Test

using的最前面加上

extern alias Test;

 

使用

Test.MyClass.DoSth();

相关文章: