Reflection / Invoke / Returning Stack

Monkey Forums/Monkey Programming/Reflection / Invoke / Returning Stack

Rhodesy(Posted 2012) [#1]
Hello.

I have a class method that returns a stack of classes.... and im having issues with taking the results of the GetMethod / Invoke call, that returns just an Object.

I'm not sure if I should be casting the return from Invoke or not?


Tibit(Posted 2012) [#2]
Do you have a simple code example maybe?

What kind of issue are you having; in what way does it not do what you want, or is the issue that it look messy?