Dynamic creation of assembly using IL

Introduction Some days ago a friend asked me if it is possible for a .NET application to dynamically create another application. Of course, the answer is Yes, we can! But how? Well..Reflection is your friend! There are several methods in the Reflection.Emit namespace that allows us to create assemblies, type, methods,etc… Then, with an ILGenerator, [...]