So I have a dynamic object and I want to execute a method from it but I need the method to be passed in as a parameter. I have found no way to do this and was wondering if anyone here could help.
something like:
public static void RunMethod(methodInTheDynamicObject)
{
myDynamicObject.methodInTheDynamicObject();
}
dynamickeyword in C# 4 or dynamic as in dynamically compiled?