Dynamic Method Creation
- by TJMonk15
So, I have been trying to research this all morning, and have had no luck. I am trying to find a way to dynamically create a method/delegate/lambda that returns a new instance of a certain class (not known until runtime) that inherits from a certain base class.
I can guarantee the following about the unknown/dynamic class
It will always inherit…