async await return Task https://stackoverflow.com/questions/25191512/async-await-return-task Can somebody explain what does this means into a synchronous method? If I try to change the method to async then VS complain about it. This works: public Tas…
using System.Reflection; 1.载入Dll Assembly asm=Assembly.LoadFile(FullPath);//FullPath 为Dll所在位置的全路径. 2.取得所需要的类的类型 Type t = asm.GetType("namespaceName.className");//命名空间名.类名 3.建立此类型的对象(相当于 new) object o = Activator.CreateInstance(t); //创建Type t类型的对…