given global is of type dynamic:
public void addGuiMethodHandler(string methodName, Handler handler)
{
using (global)
{
global.methodName = handler;
}
}
But in the runtime "methodName" is referenced instead of it's value (from method arg).
Any advice would be greatly appreciated!