Home   Cover Cover Cover Cover
 

System.Reflection.Emit

question: Study the documentation of System.Reflection.Emit in this book and in the online documentation of the .NET SDK and describe several scenarios in which one could use this namespace:

answer: The namespace Reflection.Emit is mainly used by programs which create new types at runtime. Most of the time these programs represent .NET interpreters or compilers, that transform any higher level description source into IL code. It is also possible for the user to automate some class generation aspects with the use of Reflection.Emit.