A delegate of the specified type, which can be used to execute the dynamic method.
Calling the DynamicMethod.CreateDelegate(Type) method or the erload:System.Reflection.Emit.DynamicMethod.Invoke method completes the dynamic method. Any further attempt to alter the dynamic method, such as modifying parameter definitions or emitting more Microsoft intermediate language (MSIL), is ignored; no exception is thrown.
To create a method body for a dynamic method when you have your own MSIL generator, call the DynamicMethod.GetDynamicILInfo method to obtain a System.Reflection.Emit.DynamicILInfo object. If you do not have your own MSIL generator, call the erload:System.Reflection.Emit.DynamicMethod.GetILGenerator method to obtain an System.Reflection.Emit.ILGenerator object that can be used to generate the method body.