Multiple choice technology web technology

Which namespace of the .NET Framework do you use to create metadata dynamically at runtime?

  1. System.Runtime

  2. System.Activator

  3. System.AppDomainSetup

  4. System.Reflection.Emit

  5. System.Management

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

System.Reflection.Emit contains types like ILGenerator, TypeBuilder, and AssemblyBuilder that let you generate MSIL code and metadata dynamically at runtime. The other namespaces handle runtime activation (System.Activator), app domain configuration (System.AppDomainSetup), and WMI operations (System.Management). Reflection lets you inspect existing code, while Emit creates new code.