1

Being new to C#'s advanced functionality and VM, I ask myself if C# does provide a similar mechanism like the JVM's agent functionality of inspecting, modifying and potentially replacing C# classes?

Martin Kersten
  • 5,127
  • 8
  • 46
  • 77

1 Answers1

0

It can be done at a low level through the use of IL. Please see this answer for details and a possible alternative:

Dynamically replace the contents of a C# method?

Community
  • 1
  • 1
Tom
  • 7,994
  • 8
  • 45
  • 62