This is what I need to do:
这就是我需要做的事情:
object foo = GetFoo();
Type t = typeof(BarType);
(foo as t).FunctionThatExistsInBarType();
objeThis is what I need to do:
这就是我需要做的事情:
object foo = GetFoo();
Type t = typeof(BarType);
(foo as t).FunctionThatExistsInBarType();
obje