This is used to un/hook event handler dynamically using Reflection in C#