title: Is there a way to hook a managed function in C# like I would a unmanaged function in C++?
body: <p>In C++ I would get the address of the function and overwrite the first few bytes to a jmp to my function, do some stuff, restore the original bytes, and call the original function.</p>
  
  <p>Can I do something like this in C#?</p>