System.Reflection.Emit used for building new types at runtime - Csharp.Net
Q. For building new types at runtime which class can be used?- Published on 31 Aug 15a. System
b. System.Object
c. System.NewClass
d. System.Reflection.Emit.
ANSWER: System.Reflection.Emit.
For building new types at runtime System.Reflection.Emit namespace will be used. This namespace provides you a number of classes which you can use to build your type. Some of the important classes in this namespace are
• AssemblyBuilder
• ModuleBuilder
• ConstructorBuilder
• MethodBuilder
• EventBuilder
• PropertyBuilder