In a nutshell, 3 ways:
- new
- proxy class (it could be used to implement AOP, .Net Remoting, WebService... facilities)
- ILGenerator.Emit (it could be used to implement AOP, code injection ... facilities)
In a nutshell, 3 ways:
转载于:https://www.cnblogs.com/silva/archive/2011/11/21/2118089.html